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