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;
|
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";
|
||||||
|
|
|
@ -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" ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue