fix(options): move neovim enable option to its module
This commit is contained in:
@@ -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
@@ -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";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user