nixos-vscode-server
nixos-vscode-server copied to clipboard
Visual Studio Code Server support in NixOS
It looks like the NixOS module was made available for flakes, but the home manager module was not. This change adds it to the flake outputs and updates the documentation...
Since (the main?) use case for vscode-remote-ssh is to use (e.g. a more powerful) remote host from e.g. a mobile device with the same settings/env as on the remote host...
I'm seeing the following error when running `home-manager switch`: ``` error: builder for '/nix/store/s31vlk12dslzkna3cncvg5a6636vyyf5-auto-fix-vscode-server.service.drv' failed to produce output path for output 'out' at '/nix/store/s31vlk12dslzkna3cncvg5a6636vyyf5-auto-fix-vscode-server.service.drv.chroot/nix/store/nhyc3xdqbw2gljn30y4wi2zwl1ki4mn1-auto-fix-vscode-server.service' error: 1 dependencies of derivation '/nix/store/z02sq9nc2h1qw0vwayhzz594bir90iz1-home-manager-files.drv'...
This should fix the source of the problem that #11 addresses. Instead of automatically invoking patchelf, which seems quite scary, I wrapped the NodeJS that vscode-server uses in an FHS...
I'm trying to solve the same problem being solved here, except in a Docker container (for dev container support). I've been trying to get VSCode to work with the [official...
Because ~/.vscode-server/bin is a hardcoded path, the service will not work for certain VSCode variants including Code - OSS where the directory is ~/.vscode-server-oss
Thank-you :D
Currently the flake.nix only exposes the default module that defines a global systemd service. It would be convenient to be able to access the home module directly from the flake.
How can I add extensions to vscode-server such as rust-analyzer? This would be amazing as I would be able to use rust-analyzer while coding on a remote machine.