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

@ -122,11 +122,6 @@ in {
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
services.blueman.enable = true; services.blueman.enable = true;
services.gvfs = {
enable = true;
package = lib.mkForce pkgs.gnome3.gvfs;
};
services.syncthing = { services.syncthing = {
enable = true; enable = true;
dataDir = "/home/stefan"; dataDir = "/home/stefan";

View file

@ -14,4 +14,10 @@ in {
openscad openscad
kicad kicad
]; ];
fileSystems."/mnt/nfs" = {
device = "10.1.20.29:/srv/nfs";
fsType = "nfs";
options = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=120" ];
};
} }