recovering immich

This commit is contained in:
Motiejus Jakštys 2024-09-27 15:25:07 +03:00
parent 18749eb38a
commit 75ccff51cb

View File

@ -32,13 +32,13 @@ in
];
systemd = {
tmpfiles.rules = [ "d /var/cache/immich/userdata 0700 immich immich -" ];
#tmpfiles.rules = [ "d /var/cache/immich/userdata 0700 immich immich -" ];
services.immich-server.serviceConfig = {
ProtectHome = lib.mkForce "tmpfs";
CacheDirectory = "immich";
BindPaths = lib.mapAttrsToList (
name: srcpath: "${srcpath}:/var/cache/immich/userdata/${name}"
) cfg.paths;
#BindPaths = lib.mapAttrsToList (
# name: srcpath: "${srcpath}:/var/cache/immich/userdata/${name}"
#) cfg.paths;
};
};