summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/retiolum-bootstrap.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-10-19 21:57:05 +0200
committermakefu <github@syntax-fehler.de>2015-10-19 21:57:05 +0200
commit8d3ebfc096c10e9d498ca0bed934ad9e35e6c022 (patch)
tree050e7d00b9e5c8150b24d7378203378629ae9aff /krebs/3modules/retiolum-bootstrap.nix
parent858034cc615469c6e4b7e48711f6fb026f16ffb4 (diff)
krebs 3 retiolum-bootstrap: fix assert todo
Diffstat (limited to 'krebs/3modules/retiolum-bootstrap.nix')
-rw-r--r--krebs/3modules/retiolum-bootstrap.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/krebs/3modules/retiolum-bootstrap.nix b/krebs/3modules/retiolum-bootstrap.nix
index 5cce4c2af..eed11642f 100644
--- a/krebs/3modules/retiolum-bootstrap.nix
+++ b/krebs/3modules/retiolum-bootstrap.nix
@@ -32,9 +32,7 @@ let
};
imp = {
- # TODO: assert krebs nginx
-
- krebs.nginx.servers = {
+ krebs.nginx.servers = assert config.krebs.nginx.enable; {
retiolum-boot-redir = {
server-names = singleton cfg.hostname;
extraConfig = ''