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 = {