exim: add extraRouters option

This commit is contained in:
lassulus 2023-03-09 09:09:37 +01:00
parent 2168f39612
commit 54cc4738ec

View File

@ -39,6 +39,11 @@ let
default = [];
};
extraRouters = mkOption {
type = types.nullOr types.str;
default = null;
};
internet-aliases = mkOption {
type = types.listOf (types.submodule ({
options = {
@ -254,6 +259,8 @@ let
transport = home_maildir
cannot_route_message = Unknown user
${lib.optionalString (cfg.extraRouters != null) cfg.extraRouters}
begin transports
retiolum_smtp: