Make it a list, then concat
This commit is contained in:
parent
06b7134a00
commit
333fed167f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue