git.iko.soy/typeable/nixpkgs
on master help sign in
opensmtpd service: serviceConfiguration option as types.lines
commit37afc5cda13abfbc2dd838e8a242efca1e4cd68a authorJoachim Fasting <joachifm@fastmail.fm> dateMon 24 Oct 2016, 17:53 (10 years ago) parent6dc6147
1 file changed+2−2
nixos/modules/services/mail/opensmtpd.nix+2−2
nixos/modules/services/mail/opensmtpd.nix+2−2
@@ -48,12 +48,12 @@ in {
4848 };
4949
5050 serverConfiguration = mkOption {
51− type = types.string;
51+ type = types.lines;
5252 default = "";
5353 example = ''
5454 listen on lo
5555 accept for any deliver to lmtp localhost:24
56− '';
56+ '';
5757 description = ''
5858 The contents of the smtpd.conf configuration file. See the
5959 OpenSMTPD documentation for syntax information. If this option