use systemd automount
This commit is contained in:
parent
c2406e4c7c
commit
745f613755
2 changed files with 6 additions and 5 deletions
|
@ -14,4 +14,10 @@ in {
|
|||
openscad
|
||||
kicad
|
||||
];
|
||||
|
||||
fileSystems."/mnt/nfs" = {
|
||||
device = "10.1.20.29:/srv/nfs";
|
||||
fsType = "nfs";
|
||||
options = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=120" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue