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
|
||||
|
||||
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.";
|
||||
|
Loading…
Reference in New Issue
Block a user