box: move preStart to where it needs to be

This commit is contained in:
Aaron Bieber 2023-07-12 10:19:00 -06:00
parent 24b37c636b
commit e8ea6e3359
No known key found for this signature in database

View File

@ -194,8 +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 "";
};