From 32f2ba2ca6beaa712879f20cce6f0e7956f9d31c Mon Sep 17 00:00:00 2001 From: chaos Date: Mon, 16 Dec 2024 15:51:33 +0000 Subject: [PATCH] work on photoprism --- hosts/hetzner-arm/profiles/photoprism.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/hetzner-arm/profiles/photoprism.nix b/hosts/hetzner-arm/profiles/photoprism.nix index b276c28..aa31da2 100644 --- a/hosts/hetzner-arm/profiles/photoprism.nix +++ b/hosts/hetzner-arm/profiles/photoprism.nix @@ -25,7 +25,7 @@ --log-level=INFO "$@" ''; - inherit (lib.modules) mkMerge mkForce; + inherit (lib.modules) mkForce; inherit (builtins) toFile; in { environment.systemPackages = with pkgs; [ @@ -89,7 +89,7 @@ in { }; systemd.services.photoprism.serviceConfig = { - DynamicUser = false; + DynamicUser = mkForce false; ReadWritePaths = [ "/Photos" ]; };