module exim: use config.networking.hostName

This commit is contained in:
tv 2015-03-24 18:29:19 +01:00
parent bec77179a0
commit 4aca9053f0
1 changed files with 5 additions and 1 deletions

View File

@ -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 = ''