about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2022-07-18 13:58:08 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2022-07-18 13:58:08 +0200
commit949c334ea9b9a506cb8644a356f64c30a92ef307 (patch)
treeffbb76df177c18970da5de53e08cd493ebad0197 /nixos/modules
parent4adf26f01893ed98f9ebbc55cbf87cb1be57a54a (diff)
nixos/privacyidea-ldap-proxy: use list for EnvironmentFile for mergeability
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/security/privacyidea.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/security/privacyidea.nix b/nixos/modules/services/security/privacyidea.nix
index d48266e4a7596..13e27f255068b 100644
--- a/nixos/modules/services/security/privacyidea.nix
+++ b/nixos/modules/services/security/privacyidea.nix
@@ -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 \