krebs.exim-retiolum: assert krebs.retiolum.enable
This commit is contained in:
parent
6c2c01b5cb
commit
9f92ba455c
|
@ -8,11 +8,7 @@ let
|
|||
out = {
|
||||
options.krebs.exim-retiolum = api;
|
||||
config =
|
||||
# This configuration makes only sense for retiolum-enabled hosts.
|
||||
# TODO modular configuration
|
||||
mkIf cfg.enable (
|
||||
#assert config.krebs.retiolum.enable;
|
||||
imp);
|
||||
mkIf cfg.enable imp;
|
||||
};
|
||||
|
||||
api = {
|
||||
|
@ -20,7 +16,11 @@ let
|
|||
};
|
||||
|
||||
imp = {
|
||||
services.exim = {
|
||||
services.exim =
|
||||
# This configuration makes only sense for retiolum-enabled hosts.
|
||||
# TODO modular configuration
|
||||
assert config.krebs.retiolum.enable;
|
||||
{
|
||||
enable = true;
|
||||
config = ''
|
||||
primary_hostname = ${retiolumHostname}
|
||||
|
|
Loading…
Reference in New Issue
Block a user