summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-11-21 04:10:07 +0100
committerlassulus <lassulus@lassul.us>2018-11-21 04:10:07 +0100
commit105a0b6515b2e193b883ee8fb00d8454b8049588 (patch)
tree189ea38f67cc192d212cf3a3b52abb41af1c6c9f
parent14a178d38de5ecdc45f45afebb7950dd54cbd178 (diff)
cachecache: enable only if enabled
-rw-r--r--krebs/3modules/cachecache.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/cachecache.nix b/krebs/3modules/cachecache.nix
index c02c7c80c..989320480 100644
--- a/krebs/3modules/cachecache.nix
+++ b/krebs/3modules/cachecache.nix
@@ -91,7 +91,7 @@ in
};
};
- config = {
+ config = mkIf cfg.enable {
networking.firewall.allowedTCPPorts = [ 80 443 ];