summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/exim.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/exim.nix b/modules/exim.nix
index 4a0232c8c..e80358fcd 100644
--- a/modules/exim.nix
+++ b/modules/exim.nix
@@ -2,8 +2,12 @@
{
services.exim =
+ # This configuration makes only sense for retiolum-enabled hosts.
+ # TODO modular configuration
+ assert config.services.retiolum.enable;
let
- retiolumHostname = "wu.retiolum"; # TODO "${networking.hostName}.retiolum";
+ # TODO get the hostname from config.services.retiolum.
+ retiolumHostname = "${config.networking.hostName}.retiolum";
in
{ enable = true;
config = ''