summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-06-24 16:36:37 +0200
committerlassulus <lass@lassul.us>2017-06-24 16:36:37 +0200
commitc759f783126a04db13c20a76d170b345bfa1052e (patch)
tree6f87324c2083d104d63ed76d9bf7c92b311fe312
parent88c28c3289eaf7d14ef3362c16632965108e394d (diff)
k 3 setuid: activate only if cfg is not empty
-rw-r--r--krebs/3modules/setuid.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/setuid.nix b/krebs/3modules/setuid.nix
index a17ec0883..02176ec4a 100644
--- a/krebs/3modules/setuid.nix
+++ b/krebs/3modules/setuid.nix
@@ -5,7 +5,7 @@ let
out = {
options.krebs.setuid = api;
- config = imp;
+ config = mkIf (cfg != {}) imp;
};
api = mkOption {