Use lib.mkPackageOption to set neovim package option.
This commit is contained in:
parent
6d882feee4
commit
ec33a55a88
1 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue