From 6201d04724cf224c492200645cf2d2bc2e18d7bc 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 23f2619..9cd8dab 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."; }; }; }