diff --git a/enviroments/client/default.nix b/enviroments/client/default.nix index fc05ac1..c0f82e0 100644 --- a/enviroments/client/default.nix +++ b/enviroments/client/default.nix @@ -70,5 +70,7 @@ # system debuging tools iputils dnsutils + + cachefilesd ]; } \ No newline at end of file diff --git a/hosts/horizon/hardware-configuration.nix b/hosts/horizon/hardware-configuration.nix index d6751d0..e83bda5 100644 --- a/hosts/horizon/hardware-configuration.nix +++ b/hosts/horizon/hardware-configuration.nix @@ -23,18 +23,20 @@ fsType = "vfat"; }; + services.cachefilesd.enable = true; + fileSystems."/mnt/leyla_home" = { device = "server.arpa:/home/leyla"; fsType = "nfs"; - options = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=600" ]; + options = [ "x-systemd.automount" "user" "nofail" "soft" "x-systemd.idle-timeout=600" "fsc" ]; }; fileSystems."/mnt/share_home" = { device = "server.arpa:/home/share"; fsType = "nfs"; - options = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=600" ]; + options = [ "x-systemd.automount" "user" "nofail" "soft" "x-systemd.idle-timeout=600" "fsc" ]; }; fileSystems."/mnt/docker_home" =