add checkboxes
This commit is contained in:
parent
c29ff7b22e
commit
4f28cbfda7
5 changed files with 60 additions and 35 deletions
|
@ -3,8 +3,9 @@ let
|
|||
assert builtins.isString key;
|
||||
if builtins.isAttrs value then
|
||||
builtins.trace "Skipping ${key} as it is a set" ""
|
||||
else if value == "" || value == [ ] then
|
||||
else if value == "" || value == [ ] || value == false then
|
||||
""
|
||||
else if value == true then key
|
||||
else
|
||||
''${key}="${toString value}"'';
|
||||
in rec {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue