nix-community / nixos-vscode-server

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

Unable to install extensions #82

Open Guusvanmeerveld opened 3 months ago

Guusvanmeerveld commented 3 months ago

I have been using this flake for a while and its been working great, except I cannot seem to install server-sided extensions. Every time I try to install one I get an error of the following form:

Unable to write file '/home/guus/.vscodium-server/extensions/.a88d889b-1e75-4d34-af54-73606f9b151f/package.json' (EntryWriteLocked (FileSystemError): Error: EACCES: permission denied, open '/home/guus/.vscodium-server/extensions/.a88d889b-1e75-4d34-af54-73606f9b151f/package.json')

Did I mess up something while setting up my config? I am using the following config:

services.vscode-server = {
      enable = true;
      installPath = "$HOME/.vscodium-server";
};

I am using VSCodium version 1.88.1

codgician commented 4 weeks ago

Experiencing the same here. Are you managing local VSCodium extensions with Nix and have immutable extensions directory enabled?

Guusvanmeerveld commented 4 weeks ago

Yep, you can find my local vscode configuration here