immich: remove all systemd customizations

This commit is contained in:
Motiejus Jakštys 2024-09-27 15:26:27 +03:00
parent 7fbfef8528
commit 49af61608f
1 changed files with 10 additions and 10 deletions

View File

@ -31,16 +31,16 @@ 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;
}; # };
}; #};
}; };