snowfall lib migration WIP
This commit is contained in:
parent
dc2440015e
commit
b9dadac2af
31 changed files with 9106 additions and 382 deletions
15
lib/module/default.nix
Normal file
15
lib/module/default.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{lib, ...}:
|
||||
with lib; rec {
|
||||
mkOpt = type: default: description:
|
||||
mkOption {inherit type default description;};
|
||||
|
||||
mkOpt' = type: default: mkOpt type default null;
|
||||
|
||||
mkBoolOpt = mkOpt types.bool;
|
||||
|
||||
mkBoolOpt' = mkOpt' types.bool;
|
||||
|
||||
enabled = {enable = true;};
|
||||
|
||||
disabled = {enable = false;};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue