fix(options): move neovim enable option to its module

This commit is contained in:
2026-02-11 17:54:52 +01:00
parent 36b25b2b61
commit f5df607a4d
2 changed files with 7 additions and 6 deletions
+6
View File
@@ -10,6 +10,12 @@
./plugins ./plugins
]; ];
options.kekleo.neovim = lib.mkOption {
type = lib.types.bool;
default = true;
description = "Whether to enable neovim.";
};
config = lib.mkIf config.kekleo.neovim { config = lib.mkIf config.kekleo.neovim {
programs.nixvim = { programs.nixvim = {
enable = true; enable = true;
+1 -6
View File
@@ -12,12 +12,7 @@
graphical = lib.mkOption { graphical = lib.mkOption {
type = bool; type = bool;
default = true; default = true;
description = "Enable GUI features and programs"; description = "Whether to enable GUI features and programs.";
};
neovim = lib.mkOption {
type = bool;
default = true;
description = "Enable neovim";
}; };
}; };
} }