From 37afc5cda13abfbc2dd838e8a242efca1e4cd68a Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Mon, 24 Oct 2016 17:53:20 +0200 Subject: opensmtpd service: serviceConfiguration option as types.lines --- nixos/modules/services/mail/opensmtpd.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nixos/modules/services/mail') 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 -- cgit 1.4.1