module exim: use config.networking.hostName
This commit is contained in:
parent
bec77179a0
commit
4aca9053f0
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user