use systemd automount
This commit is contained in:
parent
c2406e4c7c
commit
745f613755
2 changed files with 6 additions and 5 deletions
|
@ -122,11 +122,6 @@ in {
|
|||
hardware.bluetooth.enable = true;
|
||||
services.blueman.enable = true;
|
||||
|
||||
services.gvfs = {
|
||||
enable = true;
|
||||
package = lib.mkForce pkgs.gnome3.gvfs;
|
||||
};
|
||||
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
dataDir = "/home/stefan";
|
||||
|
|
|
@ -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