Applying patch by chaoflow to get create services.postfix.extraConfig
svn path=/nixos/trunk/; revision=25345
This commit is contained in:
parent
ddc6f84d9c
commit
23f98ee250
@ -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.";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user