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 {
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