k 3 setuid: activate only if cfg is not empty
This commit is contained in:
parent
88c28c3289
commit
c759f78312
@ -5,7 +5,7 @@ let
|
||||
|
||||
out = {
|
||||
options.krebs.setuid = api;
|
||||
config = imp;
|
||||
config = mkIf (cfg != {}) imp;
|
||||
};
|
||||
|
||||
api = mkOption {
|
||||
|
Loading…
Reference in New Issue
Block a user