From 877a15bbf7f1084c27394a9c5f9b2613f6e82e3d Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sat, 20 May 2023 17:48:40 +0300 Subject: [PATCH] feat: update default NodeJS package for Copilot.lua --- modules/assistant/copilot/copilot.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/assistant/copilot/copilot.nix b/modules/assistant/copilot/copilot.nix index 23f26191..9cd8dabc 100644 --- a/modules/assistant/copilot/copilot.nix +++ b/modules/assistant/copilot/copilot.nix @@ -98,9 +98,9 @@ in { }; copilotNodePackage = mkOption { - type = with types; nullOr package; - default = pkgs.nodejs-slim-16_x; - description = "The package that will be used for Copilot. NodeJS v16 is recommended."; + type = with types; nullOr package; # TODO - maybe accept a path as well? imperative users might want to use something like nvm + default = pkgs.nodejs-slim; # this will likely need to be downgraded because Copilot does not stay up to date with NodeJS + description = "The package that will be used for Copilot. NodeJS v18 is recommended."; }; }; }