use systemd automount

This commit is contained in:
foosinn 2020-10-28 22:49:45 +01:00
parent c2406e4c7c
commit 745f613755
2 changed files with 6 additions and 5 deletions

View file

@ -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" ];
};
}