module exim: use config.networking.hostName

This commit is contained in:
tv 2015-03-24 18:29:19 +01:00
parent bec77179a0
commit 4aca9053f0

View File

@ -2,8 +2,12 @@
{ {
services.exim = services.exim =
# This configuration makes only sense for retiolum-enabled hosts.
# TODO modular configuration
assert config.services.retiolum.enable;
let let
retiolumHostname = "wu.retiolum"; # TODO "${networking.hostName}.retiolum"; # TODO get the hostname from config.services.retiolum.
retiolumHostname = "${config.networking.hostName}.retiolum";
in in
{ enable = true; { enable = true;
config = '' config = ''