summaryrefslogtreecommitdiffstats
path: root/modules/exim.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-03-24 18:29:19 +0100
committertv <tv@krebsco.de>2015-05-19 23:14:31 +0200
commit1f3d15b17cd18deed93f664d49ef2d28978d164f (patch)
treed72c3dea85d77867697065f50f70ec446bfefde9 /modules/exim.nix
parentef654ae1f0c2e101fb8e969f29a0a9e6b55b720d (diff)
module exim: use config.networking.hostName
Diffstat (limited to 'modules/exim.nix')
-rw-r--r--modules/exim.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/exim.nix b/modules/exim.nix
index 4a0232c..e80358f 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 = ''