From f5df607a4d88ef604a6622aa8b24f5e7f31838a3 Mon Sep 17 00:00:00 2001 From: Leonhard Kost Date: Wed, 11 Feb 2026 17:54:52 +0100 Subject: [PATCH] fix(options): move neovim enable option to its module --- modules/home-manager/nixvim/default.nix | 6 ++++++ options.nix | 7 +------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/modules/home-manager/nixvim/default.nix b/modules/home-manager/nixvim/default.nix index 534e886..8a0d76c 100644 --- a/modules/home-manager/nixvim/default.nix +++ b/modules/home-manager/nixvim/default.nix @@ -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; diff --git a/options.nix b/options.nix index 521cb0b..5b821b1 100644 --- a/options.nix +++ b/options.nix @@ -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."; }; }; }