Add cached ceph FS mount point in /cache

This commit is contained in:
Rodrigo Arias 2024-07-23 14:25:09 +02:00
parent 4bd1648074
commit 8fccb40a7a

View File

@ -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}"
];
};
}