k 3 setuid: activate only if cfg is not empty

This commit is contained in:
lassulus 2017-06-24 16:36:37 +02:00
parent 88c28c3289
commit c759f78312

View File

@ -5,7 +5,7 @@ let
out = {
options.krebs.setuid = api;
config = imp;
config = mkIf (cfg != {}) imp;
};
api = mkOption {