From a081b37b8ce1f176270eb771cf97864bb91cf45b Mon Sep 17 00:00:00 2001 From: chaos Date: Mon, 16 Dec 2024 15:13:23 +0000 Subject: [PATCH] work on photoprism --- hosts/hetzner-arm/profiles/photoprism.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/hetzner-arm/profiles/photoprism.nix b/hosts/hetzner-arm/profiles/photoprism.nix index 4d39dd7..68c8d6f 100644 --- a/hosts/hetzner-arm/profiles/photoprism.nix +++ b/hosts/hetzner-arm/profiles/photoprism.nix @@ -48,7 +48,7 @@ in { } // (lib.mapAttrs (_: toString) cfg.settings); in - pkgs.writeShellScript "photoprism-manage" '' + pkgs.writeShellScriptBin "photoprism-manage" '' set -o allexport ${lib.toShellVars env} eval "$(${config.systemd.package}/bin/systemctl show -pUID,MainPID photoprism.service | ${pkgs.gnused}/bin/sed "s/UID/ServiceUID/")"