about summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2016-10-24 17:53:20 +0200
committerJoachim Fasting <joachifm@fastmail.fm>2016-10-26 03:01:56 +0200
commit37afc5cda13abfbc2dd838e8a242efca1e4cd68a (patch)
tree3080b163817ae23f3feff2cf223d4793b9163c06 /nixos/modules/services
parent6dc6147d8f3257935ebfc71aa1faf6b3b305de53 (diff)
downloadnixlib-37afc5cda13abfbc2dd838e8a242efca1e4cd68a.tar
nixlib-37afc5cda13abfbc2dd838e8a242efca1e4cd68a.tar.gz
nixlib-37afc5cda13abfbc2dd838e8a242efca1e4cd68a.tar.bz2
nixlib-37afc5cda13abfbc2dd838e8a242efca1e4cd68a.tar.lz
nixlib-37afc5cda13abfbc2dd838e8a242efca1e4cd68a.tar.xz
nixlib-37afc5cda13abfbc2dd838e8a242efca1e4cd68a.tar.zst
nixlib-37afc5cda13abfbc2dd838e8a242efca1e4cd68a.zip
opensmtpd service: serviceConfiguration option as types.lines
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/mail/opensmtpd.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/mail/opensmtpd.nix b/nixos/modules/services/mail/opensmtpd.nix
index fb94560e10aa..2de7ef48ad10 100644
--- a/nixos/modules/services/mail/opensmtpd.nix
+++ b/nixos/modules/services/mail/opensmtpd.nix
@@ -48,12 +48,12 @@ in {
       };
 
       serverConfiguration = mkOption {
-        type = types.string;
+        type = types.lines;
         default = "";
         example = ''
           listen on lo
           accept for any deliver to lmtp localhost:24
-        ''; 
+        '';
         description = ''
           The contents of the smtpd.conf configuration file. See the
           OpenSMTPD documentation for syntax information. If this option