Add finalPackage option to move out config implementation.

This commit is contained in:
Kevin Baensch 2025-05-03 21:37:46 +02:00
parent dd0500a269
commit a11fc4b8a6
Signed by: derped
GPG key ID: C0F1D326C7626543

View file

@ -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;