summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-03-04 19:59:36 +0100
committerlassulus <lass@lassul.us>2017-03-04 22:24:05 +0100
commit6344a9ff6a9926364b34a8556e794157b686bd05 (patch)
tree4f6a3941481501778b79b86e3f301a126cf06ceb
parentdd30ebef45b63b4c8bb8b586f750ff877f60f565 (diff)
exim: add primary_host to local_domains
-rw-r--r--krebs/3modules/exim-smarthost.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/exim-smarthost.nix b/krebs/3modules/exim-smarthost.nix
index bda563f8d..0ad952e3b 100644
--- a/krebs/3modules/exim-smarthost.nix
+++ b/krebs/3modules/exim-smarthost.nix
@@ -55,7 +55,7 @@ let
local_domains = mkOption {
type = with types; listOf hostname;
- default = ["localhost"] ++ config.krebs.build.host.nets.retiolum.aliases;
+ default = unique (["localhost" cfg.primary_hostname] ++ config.krebs.build.host.nets.retiolum.aliases);
};
relay_from_hosts = mkOption {