Make it a list, then concat
This commit is contained in:
+2
-2
@@ -459,8 +459,8 @@ in {
|
|||||||
lmtp.args = [ "flags=DO" ];
|
lmtp.args = [ "flags=DO" ];
|
||||||
policy-spf = let
|
policy-spf = let
|
||||||
policydSpfConfig = concatStringsSep "\n"
|
policydSpfConfig = concatStringsSep "\n"
|
||||||
(cfg.policy-spf.extra-config
|
([ cfg.policy-spf.extra-config ]
|
||||||
+ (lib.optionalString cfg.debug "debugLevel = 4"));
|
++ (lib.optional cfg.debug "debugLevel = 4"));
|
||||||
in {
|
in {
|
||||||
type = "unix";
|
type = "unix";
|
||||||
privileged = true;
|
privileged = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user