nix-community / nixos-vscode-server

Visual Studio Code Server support in NixOS
MIT License
387 stars 75 forks source link

update example and default nodejs version #75

Closed wmertens closed 6 months ago

wmertens commented 7 months ago

v20 is current stable

the example gets checked for EOL compliance too!

acelinkio commented 6 months ago

@msteen , can this be reviewed/merged? if you attempt a new vscode-server installation the package fails to connect to remote host. Workaround was to add services.vscode-server.nodejsPackage = pkgs.nodejs_20; to force the update.

ivan commented 4 months ago

FWIW the latest Remote - SSH extension at this time (v0.110.1) downloads a server that runs on Node.js v18.18.2, not v20.x. I don't know if using v20 here causes issues now, but I have previously had a lot of issues caused by mismatched major versions, where the remote server would use 100% CPU.