diff --git a/nfs-mount.nix b/nfs-mount.nix index f72d1f2..2c31624 100644 --- a/nfs-mount.nix +++ b/nfs-mount.nix @@ -2,15 +2,15 @@ # Add NFS support to the initramfs so it can be mounted at boot. boot.supportedFilesystems = [ "nfs" ]; -# services.cachefilesd = { -# enable = true; -# cacheDir = "/data/cache"; -# }; + services.cachefilesd = { + enable = true; + cacheDir = "/data/cache"; + }; systemd.mounts = [{ type = "nfs"; mountConfig = { - Options = "noatime"; + Options = ["noatime" "fsc"]; }; what = "${config.vars.nfs_server}:${config.vars.nfs_volume}"; where = config.vars.nfs_mount;