From e386de803446d53cc0be6c66da5c4f71c916ac88 Mon Sep 17 00:00:00 2001 From: Steffen Date: Thu, 24 Jul 2025 15:48:46 +0200 Subject: [PATCH] cache back in, debugging done --- nfs-mount.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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;