lib: add nvim.bool

This commit is contained in:
raf 2024-02-17 04:10:13 +03:00
commit 214fc7219b
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
2 changed files with 9 additions and 0 deletions

8
lib/bool.nix Normal file
View file

@ -0,0 +1,8 @@
{lib}: {
mkBool = value: description:
lib.mkOption {
type = lib.types.bool;
default = value;
inherit description;
};
}

View file

@ -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;};