modules/output: use mkPackageOption for package option

This commit is contained in:
Matt Sturgeon 2024-09-03 13:54:21 +01:00
parent cdb2e79e51
commit c4a54da4a5
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -6,7 +6,7 @@
... ...
}: }:
let let
inherit (lib) types mkOption; inherit (lib) types mkOption mkPackageOption;
inherit (lib) optional optionalString optionalAttrs; inherit (lib) optional optionalString optionalAttrs;
in in
{ {
@ -39,10 +39,8 @@ in
description = "Enable Node provider."; description = "Enable Node provider.";
}; };
package = mkOption { package = mkPackageOption pkgs "Neovim" {
type = types.package; default = "neovim-unwrapped";
default = pkgs.neovim-unwrapped;
description = "Neovim to use for NixVim.";
}; };
wrapRc = mkOption { wrapRc = mkOption {