mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-09 04:07:16 +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}: {
|
{lib}: {
|
||||||
|
bool = import ./bool.nix {inherit lib;};
|
||||||
dag = import ./dag.nix {inherit lib;};
|
dag = import ./dag.nix {inherit lib;};
|
||||||
types = import ./types {inherit lib;};
|
types = import ./types {inherit lib;};
|
||||||
languages = import ./languages.nix {inherit lib;};
|
languages = import ./languages.nix {inherit lib;};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue