diff options
author | lassulus <lass@lassul.us> | 2017-06-24 16:36:37 +0200 |
---|---|---|
committer | lassulus <lass@lassul.us> | 2017-06-24 16:36:37 +0200 |
commit | c759f783126a04db13c20a76d170b345bfa1052e (patch) | |
tree | 6f87324c2083d104d63ed76d9bf7c92b311fe312 /krebs/3modules/setuid.nix | |
parent | 88c28c3289eaf7d14ef3362c16632965108e394d (diff) |
k 3 setuid: activate only if cfg is not empty
Diffstat (limited to 'krebs/3modules/setuid.nix')
-rw-r--r-- | krebs/3modules/setuid.nix | 2 |
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 { |