work on photoprism

This commit is contained in:
chaos 2024-12-16 15:51:33 +00:00
parent e1b672bf82
commit 32f2ba2ca6

View file

@ -25,7 +25,7 @@
--log-level=INFO "$@" --log-level=INFO "$@"
''; '';
inherit (lib.modules) mkMerge mkForce; inherit (lib.modules) mkForce;
inherit (builtins) toFile; inherit (builtins) toFile;
in { in {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
@ -89,7 +89,7 @@ in {
}; };
systemd.services.photoprism.serviceConfig = { systemd.services.photoprism.serviceConfig = {
DynamicUser = false; DynamicUser = mkForce false;
ReadWritePaths = [ "/Photos" ]; ReadWritePaths = [ "/Photos" ];
}; };