opensmtpd service: serviceConfiguration option as types.lines

This commit is contained in:
Joachim Fasting 2016-10-24 17:53:20 +02:00
parent 6dc6147d8f
commit 37afc5cda1

View File

@ -48,12 +48,12 @@ in {
}; };
serverConfiguration = mkOption { serverConfiguration = mkOption {
type = types.string; type = types.lines;
default = ""; default = "";
example = '' example = ''
listen on lo listen on lo
accept for any deliver to lmtp localhost:24 accept for any deliver to lmtp localhost:24
''; '';
description = '' description = ''
The contents of the smtpd.conf configuration file. See the The contents of the smtpd.conf configuration file. See the
OpenSMTPD documentation for syntax information. If this option OpenSMTPD documentation for syntax information. If this option