exim: add extraRouters option
This commit is contained in:
parent
2168f39612
commit
54cc4738ec
@ -39,6 +39,11 @@ let
|
|||||||
default = [];
|
default = [];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extraRouters = mkOption {
|
||||||
|
type = types.nullOr types.str;
|
||||||
|
default = null;
|
||||||
|
};
|
||||||
|
|
||||||
internet-aliases = mkOption {
|
internet-aliases = mkOption {
|
||||||
type = types.listOf (types.submodule ({
|
type = types.listOf (types.submodule ({
|
||||||
options = {
|
options = {
|
||||||
@ -254,6 +259,8 @@ let
|
|||||||
transport = home_maildir
|
transport = home_maildir
|
||||||
cannot_route_message = Unknown user
|
cannot_route_message = Unknown user
|
||||||
|
|
||||||
|
${lib.optionalString (cfg.extraRouters != null) cfg.extraRouters}
|
||||||
|
|
||||||
begin transports
|
begin transports
|
||||||
|
|
||||||
retiolum_smtp:
|
retiolum_smtp:
|
||||||
|
Loading…
Reference in New Issue
Block a user