Use lib.mkPackageOption to set neovim package option.

This commit is contained in:
Kevin Baensch 2025-05-03 20:54:43 +02:00
parent 6d882feee4
commit ec33a55a88
Signed by: derped
GPG key ID: C0F1D326C7626543

View file

@ -200,11 +200,9 @@ in
type = types.bool;
default = false;
description = ''If set to true nvim will be installed with the plugins defined in programs.nvim-lazy.plugins.'';
package = lib.mkPackageOption pkgs "neovim" {
default = "neovim-unwrapped";
};
package = mkOption {
type = types.package;
default = pkgs.neovim-unwrapped;
description = ''The neovim-unwrapped package to use.'';
};
vPlug = mkOption {
type = with types; lazyAttrsOf anything;