lazy automounting and idle disconnect for nfs mounted drives on curve
This commit is contained in:
parent
48cbbc4f75
commit
cfb9db4907
|
@ -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" ];
|
||||||
|
|
Loading…
Reference in a new issue