diff --git a/nixos/modules/services/web-apps/photoprism.nix b/nixos/modules/services/web-apps/photoprism.nix index fc61ba7b0439..0e2bc11de04e 100644 --- a/nixos/modules/services/web-apps/photoprism.nix +++ b/nixos/modules/services/web-apps/photoprism.nix @@ -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;