recovering immich
This commit is contained in:
parent
18749eb38a
commit
75ccff51cb
@ -32,13 +32,13 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
systemd = {
|
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 = {
|
services.immich-server.serviceConfig = {
|
||||||
ProtectHome = lib.mkForce "tmpfs";
|
ProtectHome = lib.mkForce "tmpfs";
|
||||||
CacheDirectory = "immich";
|
CacheDirectory = "immich";
|
||||||
BindPaths = lib.mapAttrsToList (
|
#BindPaths = lib.mapAttrsToList (
|
||||||
name: srcpath: "${srcpath}:/var/cache/immich/userdata/${name}"
|
# name: srcpath: "${srcpath}:/var/cache/immich/userdata/${name}"
|
||||||
) cfg.paths;
|
#) cfg.paths;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user