lazy automounting and idle disconnect for nfs mounted drives on curve

This commit is contained in:
Anish L 2022-08-10 01:36:24 +10:00
parent 48cbbc4f75
commit cfb9db4907

View file

@ -14,16 +14,19 @@
fileSystems."/mnt/ftp" = { fileSystems."/mnt/ftp" = {
device = "192.168.1.240:/home/ftp"; device = "192.168.1.240:/home/ftp";
fsType = "nfs"; fsType = "nfs";
options = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=600" ];
}; };
fileSystems."/mnt/tv" = { fileSystems."/mnt/tv" = {
device = "192.168.1.240:/mnt/three/tv"; device = "192.168.1.240:/mnt/three/tv";
fsType = "nfs"; fsType = "nfs";
options = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=600" ];
}; };
fileSystems."/mnt/movies" = { fileSystems."/mnt/movies" = {
device = "192.168.1.240:/mnt/three/movies"; device = "192.168.1.240:/mnt/three/movies";
fsType = "nfs"; fsType = "nfs";
options = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=600" ];
}; };
boot.supportedFilesystems = [ "ntfs" ]; boot.supportedFilesystems = [ "ntfs" ];