mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-02 17:15:55 +00:00
lib: add nvim.bool
This commit is contained in:
parent
370913e827
commit
214fc7219b
2 changed files with 9 additions and 0 deletions
8
lib/bool.nix
Normal file
8
lib/bool.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{lib}: {
|
||||
mkBool = value: description:
|
||||
lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = value;
|
||||
inherit description;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
{lib}: {
|
||||
bool = import ./bool.nix {inherit lib;};
|
||||
dag = import ./dag.nix {inherit lib;};
|
||||
types = import ./types {inherit lib;};
|
||||
languages = import ./languages.nix {inherit lib;};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue