From 7e36514c90ff24e79ec2a4e64388a1f5ba7faf76 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 15 Jan 2016 17:53:42 +0100 Subject: [PATCH] nixos/postfix: Set type for extraConfig to "lines" Regression introduced by 3891d3e6541fe588ee2430e7b1bdb8d87d787a53. Merging multiple options with type "str" won't work and give an evaluation error. For extra configuration lines in the Postfix config it really should be "lines", especially because even the description mentions "extra lines". Signed-off-by: aszlig --- nixos/modules/services/mail/postfix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/mail/postfix.nix b/nixos/modules/services/mail/postfix.nix index ab6ad3906000..6c5d7e92702b 100644 --- a/nixos/modules/services/mail/postfix.nix +++ b/nixos/modules/services/mail/postfix.nix @@ -300,7 +300,7 @@ in }; extraConfig = mkOption { - type = types.str; + type = types.lines; default = ""; description = " Extra lines to be added verbatim to the main.cf configuration file.