Add finalPackage option to move out config implementation.
This commit is contained in:
parent
dd0500a269
commit
a11fc4b8a6
1 changed files with 8 additions and 0 deletions
|
@ -316,12 +316,20 @@ in
|
|||
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";
|
||||
};
|
||||
|
||||
finalPackage = mkOption {
|
||||
type = types.package;
|
||||
readOnly = true;
|
||||
description = ''
|
||||
Neovim wrapped.
|
||||
'';
|
||||
};
|
||||
|
||||
defaultEditor = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue