Home : Mount drives on start.

This commit is contained in:
Dmitry Voronin 2024-03-04 04:19:39 +03:00
parent 1a4587a9bd
commit ccb2706ca2

View file

@ -22,25 +22,18 @@
fileSystems."/storage/cold_1" = {
device = "/dev/storage/cold_1";
fsType = "ext4";
options = [ "noauto" "nofail" ];
options = [ "nofail" ];
};
fileSystems."/storage/cold_2" = {
device = "/dev/storage/cold_2";
fsType = "ext4";
options = [ "noauto" "nofail" ];
options = [ "nofail" ];
};
fileSystems."/storage/hot" = {
device = "/dev/storage/hot";
fsType = "ext4";
options = [ "noauto" "nofail" ];
options = [ "nofail" ];
};
# Disable Docker autostart.
systemd.services.docker.wantedBy = lib.mkForce [ ];
systemd.sockets.docker.wantedBy = lib.mkForce [ ];
# Disable ftpd autostart.
systemd.services.vsftpd.wantedBy = lib.mkForce [ ];
}