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 = ''
|
description = ''
|
||||||
If set to true nvim will be installed with the plugins defined in programs.nvim-lazy.plugins.
|
If set to true nvim will be installed with the plugins defined in programs.nvim-lazy.plugins.
|
||||||
'';
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
package = lib.mkPackageOption pkgs "neovim" {
|
package = lib.mkPackageOption pkgs "neovim" {
|
||||||
default = "neovim-unwrapped";
|
default = "neovim-unwrapped";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
finalPackage = mkOption {
|
||||||
|
type = types.package;
|
||||||
|
readOnly = true;
|
||||||
|
description = ''
|
||||||
|
Neovim wrapped.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultEditor = mkOption {
|
defaultEditor = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue