diff --git a/m/module/ceph.nix b/m/module/ceph.nix index cf1217f..5434b23 100644 --- a/m/module/ceph.nix +++ b/m/module/ceph.nix @@ -21,4 +21,16 @@ "secretfile=${config.age.secrets.cephUser.path}" ]; }; + + services.cachefilesd.enable = true; + + fileSystems."/cache" = { + fsType = "ceph"; + device = "user@9c8d06e0-485f-4aaf-b16b-06d6daf1232b.cephfs=/"; + options = [ + "fsc" + "mon_addr=10.0.40.40" + "secretfile=${config.age.secrets.cephUser.path}" + ]; + }; }