fix(options): move neovim enable option to its module
This commit is contained in:
@@ -10,6 +10,12 @@
|
||||
./plugins
|
||||
];
|
||||
|
||||
options.kekleo.neovim = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
description = "Whether to enable neovim.";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.kekleo.neovim {
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
|
||||
+1
-6
@@ -12,12 +12,7 @@
|
||||
graphical = lib.mkOption {
|
||||
type = bool;
|
||||
default = true;
|
||||
description = "Enable GUI features and programs";
|
||||
};
|
||||
neovim = lib.mkOption {
|
||||
type = bool;
|
||||
default = true;
|
||||
description = "Enable neovim";
|
||||
description = "Whether to enable GUI features and programs.";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user