nixos/privacyidea-ldap-proxy: use list for EnvironmentFile for mergeability

This commit is contained in:
Maximilian Bosch 2022-07-18 13:58:08 +02:00
parent 4adf26f018
commit 949c334ea9
No known key found for this signature in database
GPG key ID: 9A6EEA275CA5BE0A

View file

@ -329,7 +329,7 @@ in
Group = cfg.ldap-proxy.group;
StateDirectory = "privacyidea-ldap-proxy";
EnvironmentFile = mkIf (cfg.ldap-proxy.environmentFile != null)
cfg.ldap-proxy.environmentFile;
[ cfg.ldap-proxy.environmentFile ];
ExecStartPre =
"${pkgs.writeShellScript "substitute-secrets-ldap-proxy" ''
${pkgs.envsubst}/bin/envsubst \