Open mschuwalow opened 5 years ago
@mschuwalow Hi, I released an experimental extension for working with nix environments in vs code. https://marketplace.visualstudio.com/items?itemName=arrterian.nix-env-selector You can set own shell.nix confix and all extensions the main process will get the env. It can be a little buggy at the moment. But work still in progress
@arrterian Very cool stuff! Thanks for pinging me.
The above solution is no longer functional over Remote-SSH, and I've been - so far - unable to find an alternative solution beyond switching to something like VSCode Tunnel (and thus non-local traffic) or DevContainers (losing the environment benefits of Nix).
Does anyone have a currently-functioning solution for this problem? If not, this may be something worth looking into for feature-level support.
First of all the remote development feature is great! I think it would be nice tough to integrate this with nix-shell or https://github.com/target/lorri for lightweight environments using the nix package manager. I think this has the potential to be even nicer than the docker environments as you don't have issues with owner permissions and don't have to volume mount configuration files.