feat: update default NodeJS package for Copilot.lua

This commit is contained in:
NotAShelf 2023-05-20 17:48:40 +03:00
parent d1b65d2858
commit 6201d04724
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22

View file

@ -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.";
};
};
}