diff options
author | lassulus <lassulus@lassul.us> | 2018-12-03 17:39:34 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-12-03 17:39:34 +0100 |
commit | 4d36900c6f0eedb62652d90bc362dca14d6c7b9a (patch) | |
tree | 822460ad262bea155551ab31649e7abd4aa8c0b2 /krebs | |
parent | 79e5320e6b1da4d9d3569fe2b4f42c5d9db7c641 (diff) |
Reaktor: add user only if active
Diffstat (limited to 'krebs')
-rw-r--r-- | krebs/3modules/Reaktor.nix | 2 |
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 { |