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

View File

@ -31,16 +31,16 @@ in
}
];
systemd = {
#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;
};
};
#systemd = {
# #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;
# };
#};
};