Home : Mount drives on start.
This commit is contained in:
parent
1a4587a9bd
commit
ccb2706ca2
|
@ -22,25 +22,18 @@
|
||||||
fileSystems."/storage/cold_1" = {
|
fileSystems."/storage/cold_1" = {
|
||||||
device = "/dev/storage/cold_1";
|
device = "/dev/storage/cold_1";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
options = [ "noauto" "nofail" ];
|
options = [ "nofail" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/storage/cold_2" = {
|
fileSystems."/storage/cold_2" = {
|
||||||
device = "/dev/storage/cold_2";
|
device = "/dev/storage/cold_2";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
options = [ "noauto" "nofail" ];
|
options = [ "nofail" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/storage/hot" = {
|
fileSystems."/storage/hot" = {
|
||||||
device = "/dev/storage/hot";
|
device = "/dev/storage/hot";
|
||||||
fsType = "ext4";
|
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 [ ];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue