recovering immich
This commit is contained in:
parent
18749eb38a
commit
75ccff51cb
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user