about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-01-15 17:53:42 +0100
committeraszlig <aszlig@redmoonstudios.org>2016-01-15 17:57:09 +0100
commit7e36514c90ff24e79ec2a4e64388a1f5ba7faf76 (patch)
tree02dd0268af821ca8ac199d3df0cac8363f21fd08 /nixos
parente99005382e171b8dec4662acffc5ad441ddfaa2c (diff)
downloadnixlib-7e36514c90ff24e79ec2a4e64388a1f5ba7faf76.tar
nixlib-7e36514c90ff24e79ec2a4e64388a1f5ba7faf76.tar.gz
nixlib-7e36514c90ff24e79ec2a4e64388a1f5ba7faf76.tar.bz2
nixlib-7e36514c90ff24e79ec2a4e64388a1f5ba7faf76.tar.lz
nixlib-7e36514c90ff24e79ec2a4e64388a1f5ba7faf76.tar.xz
nixlib-7e36514c90ff24e79ec2a4e64388a1f5ba7faf76.tar.zst
nixlib-7e36514c90ff24e79ec2a4e64388a1f5ba7faf76.zip
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 <aszlig@redmoonstudios.org>
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/mail/postfix.nix2
1 files changed, 1 insertions, 1 deletions
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.