Applying patch by chaoflow to get create services.postfix.extraConfig

svn path=/nixos/trunk/; revision=25345
This commit is contained in:
Michael Raskin 2011-01-02 18:49:11 +00:00
parent ddc6f84d9c
commit 23f98ee250

View File

@ -81,8 +81,8 @@ let
smtpd_use_tls = yes
recipientDelimiter = ${cfg.recipientDelimiter}
'';
''
+ cfg.extraConfig;
aliases =
optionalString (cfg.postmasterAlias != "") ''
@ -227,6 +227,13 @@ in
";
};
extraConfig = mkOption {
default = "";
description = "
Extra configuration, will be added verbatim to the configuration file.
";
};
sslCert = mkOption {
default = "";
description = "SSL certificate to use.";