From c5faa51e7377abf3aa15b9f10df68a3a06d69001 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 12 Jul 2023 08:44:59 -0600 Subject: [PATCH] box: set WorkingDirectory for photoprism service --- hosts/box/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/box/default.nix b/hosts/box/default.nix index 5738c9d..8cbc07a 100644 --- a/hosts/box/default.nix +++ b/hosts/box/default.nix @@ -194,6 +194,8 @@ in { openssh.authorizedKeys.keys = pubKeys; }; + systemd.services.photoprism.serviceConfig.WorkingDirectory = lib.mkDefault "/media/pictures/photoprism"; + services = { photoprism = { enable = true;