move to snowfall
This commit is contained in:
parent
9d7ad7c973
commit
769d4b0df5
188 changed files with 2203 additions and 3041 deletions
17
lib/module/default.nix
Normal file
17
lib/module/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{lib, ...}:
|
||||
with lib; rec {
|
||||
mkOpt = type: default: description:
|
||||
mkOption {inherit type default description;};
|
||||
|
||||
mkOpt' = type: default: mkOpt type default null;
|
||||
|
||||
mkBoolOpt = mkOpt types.bool;
|
||||
|
||||
mkStringOpt = mkOpt types.string;
|
||||
|
||||
mkBoolOpt' = mkOpt' types.bool;
|
||||
|
||||
enabled = {enable = true;};
|
||||
|
||||
disabled = {enable = false;};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue