summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/exim-smarthost.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-03-09 10:35:23 +0100
committertv <tv@krebsco.de>2023-03-09 10:35:23 +0100
commit08cc57041cf3ba9b53cfdc819969fe50614306db (patch)
tree6ac439e0087fec66b78605627b79a62388cb0fd9 /krebs/3modules/exim-smarthost.nix
parent56bb735f9208ad087e5b7c37763669e88c8c7059 (diff)
parent80459262004c8e31e4937450862e2158a3716095 (diff)
Merge remote-tracking branch 'Mic92/master' into head
Diffstat (limited to 'krebs/3modules/exim-smarthost.nix')
-rw-r--r--krebs/3modules/exim-smarthost.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/krebs/3modules/exim-smarthost.nix b/krebs/3modules/exim-smarthost.nix
index b3cf212e4..62f15027a 100644
--- a/krebs/3modules/exim-smarthost.nix
+++ b/krebs/3modules/exim-smarthost.nix
@@ -39,6 +39,11 @@ let
default = [];
};
+ extraRouters = mkOption {
+ type = types.nullOr types.str;
+ default = null;
+ };
+
internet-aliases = mkOption {
type = types.listOf (types.submodule ({
options = {
@@ -50,6 +55,7 @@ let
};
};
}));
+ default = [];
};
local_domains = mkOption {
@@ -104,6 +110,7 @@ let
};
};
}));
+ default = [];
};
};
@@ -254,6 +261,8 @@ let
transport = home_maildir
cannot_route_message = Unknown user
+ ${lib.optionalString (cfg.extraRouters != null) cfg.extraRouters}
+
begin transports
retiolum_smtp: