From 54cc4738ec8d5d03fa7965045b1377b8097910ab Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 9 Mar 2023 09:09:37 +0100 Subject: exim: add extraRouters option --- krebs/3modules/exim-smarthost.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'krebs/3modules') diff --git a/krebs/3modules/exim-smarthost.nix b/krebs/3modules/exim-smarthost.nix index b3cf212e..7a5a55d4 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 = { @@ -254,6 +259,8 @@ let transport = home_maildir cannot_route_message = Unknown user + ${lib.optionalString (cfg.extraRouters != null) cfg.extraRouters} + begin transports retiolum_smtp: -- cgit v1.2.3