box: overwrite preStart in photoprism

This commit is contained in:
Aaron Bieber 2023-07-12 09:14:55 -06:00
parent a8e4e648ce
commit 24b37c636b
No known key found for this signature in database

View File

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