summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-12-03 17:39:34 +0100
committerlassulus <lassulus@lassul.us>2018-12-03 17:39:34 +0100
commit4d36900c6f0eedb62652d90bc362dca14d6c7b9a (patch)
tree822460ad262bea155551ab31649e7abd4aa8c0b2
parent79e5320e6b1da4d9d3569fe2b4f42c5d9db7c641 (diff)
Reaktor: add user only if active
-rw-r--r--krebs/3modules/Reaktor.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/Reaktor.nix b/krebs/3modules/Reaktor.nix
index 677b6f7b8..669483f3c 100644
--- a/krebs/3modules/Reaktor.nix
+++ b/krebs/3modules/Reaktor.nix
@@ -8,7 +8,7 @@ let
out = {
options.krebs.Reaktor = api;
- config = imp;
+ config = mkIf (cfg != {}) imp;
};
api = mkOption {