From 949c334ea9b9a506cb8644a356f64c30a92ef307 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Mon, 18 Jul 2022 13:58:08 +0200 Subject: nixos/privacyidea-ldap-proxy: use list for EnvironmentFile for mergeability --- nixos/modules/services/security/privacyidea.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos') 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 \ -- cgit 1.4.1