nix-community / nixos-vscode-server

Visual Studio Code Server support in NixOS
MIT License
419 stars 76 forks source link

The module install the VSCode just in the default user in the NixOS-WSL #61

Closed selmison closed 1 year ago

selmison commented 1 year ago

I am using NixOS-WSL, I notice this module install the VSCode just in the default user (nixos) but when I try with another users (by means of machinectl shell <user>@), the code cli is not available in their shell.

msteen commented 1 year ago

This project just provides a systemd user module, it doesn't configure which user gets to have it enabled. I haven't really experimented enough with home-manager, but that is likely one way how you can configure for users. Or you can just enable it non-decleratively / manual by using systemctl --user enable auto-fix-vscode-server.service. To be clear, that command has to be run as the user you want to enable it for.

So, as far as I know, your issue has nothing inherently to do with this project. If I am mistaken, please do say so and I will reopen the issue.