mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 10:21:31 +00:00
lib: move global functions to extended lib
This commit is contained in:
parent
a12ba5689a
commit
51e28d415a
4 changed files with 18 additions and 12 deletions
11
lib/config.nix
Normal file
11
lib/config.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{lib}: let
|
||||
inherit (lib.options) mkOption;
|
||||
inherit (lib.types) bool;
|
||||
in {
|
||||
mkBool = value: description:
|
||||
mkOption {
|
||||
type = bool;
|
||||
default = value;
|
||||
inherit description;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue