lib/options: add mkBoolOpt' with description
This commit is contained in:
parent
d3d492aa34
commit
60707813d7
1 changed files with 6 additions and 0 deletions
|
@ -14,4 +14,10 @@ in
|
|||
type = types.bool;
|
||||
example = true;
|
||||
};
|
||||
|
||||
mkBoolOpt' = default: description: mkOption {
|
||||
inherit default description;
|
||||
type = types.bool;
|
||||
example = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue