mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-03 01:25:57 +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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue