From 333fed167f8e8d29c66a5a4ad49a08dade6127ff Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 25 Sep 2023 10:03:24 -0700 Subject: [PATCH] Make it a list, then concat --- postfix.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/postfix.nix b/postfix.nix index 54878e0..f7d89f8 100644 --- a/postfix.nix +++ b/postfix.nix @@ -459,8 +459,8 @@ in { lmtp.args = [ "flags=DO" ]; policy-spf = let policydSpfConfig = concatStringsSep "\n" - (cfg.policy-spf.extra-config - + (lib.optionalString cfg.debug "debugLevel = 4")); + ([ cfg.policy-spf.extra-config ] + ++ (lib.optional cfg.debug "debugLevel = 4")); in { type = "unix"; privileged = true;