From 24b37c636bf0cd9371d19424cf0b453336945c8a Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 12 Jul 2023 09:14:55 -0600 Subject: [PATCH] box: overwrite preStart in photoprism --- hosts/box/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/box/default.nix b/hosts/box/default.nix index 248a624..978e934 100644 --- a/hosts/box/default.nix +++ b/hosts/box/default.nix @@ -194,7 +194,10 @@ in { openssh.authorizedKeys.keys = pubKeys; }; - systemd.services.photoprism.serviceConfig.WorkingDirectory = lib.mkForce "/media/pictures/photoprism"; + systemd.services.photoprism.serviceConfig = { + WorkingDirectory = lib.mkForce "/media/pictures/photoprism"; + preStart = lib.mkForce ""; + }; services = { photoprism = {