photoprism: fix LoadCredential syntax (#473036)

This commit is contained in:
Felix Bühler
2025-12-21 21:45:16 +00:00
committed by GitHub
@@ -135,10 +135,10 @@ in
];
LoadCredential = [
(lib.optionalString (cfg.passwordFile != null) "PHOTOPRISM_ADMIN_PASSWORD_FILE=${cfg.passwordFile}")
(lib.optionalString (cfg.passwordFile != null) "PHOTOPRISM_ADMIN_PASSWORD_FILE:${cfg.passwordFile}")
(lib.optionalString (
cfg.databasePasswordFile != null
) "PHOTOPRISM_DATABASE_PASSWORD=${cfg.databasePasswordFile}")
) "PHOTOPRISM_DATABASE_PASSWORD:${cfg.databasePasswordFile}")
];
LockPersonality = true;