Jump to content

Visual Studio Code: Difference between revisions

Add Troubleshooting section with Error after Sing On
imported>Nix
(→‎Managing extensions: more on updating extensions, clean up section)
imported>Sirkonst
(Add Troubleshooting section with Error after Sing On)
Line 176: Line 176:
   programs.vscode.package = pkgs.vscode-fhsWithPackages (ps: with ps; [ rustup zlib ]);
   programs.vscode.package = pkgs.vscode-fhsWithPackages (ps: with ps; [ rustup zlib ]);
</syntaxHighlight>
</syntaxHighlight>
== Troubleshooting ==
=== Error after Sing On  ===
If you get such an error after sign on in application:
<pre>
Writing login information to the keychain failed with error 'The name org.freedesktop.secret was not provided by any .service files'.
</pre>
Try to add the following setting in you system configuration (even if you don't use Gnome as desktop environment):
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
  # needed for store VSCode auth token
  services.gnome.gnome-keyring.enable = true;
</nowiki>}}
Don't forget perform '<code>nixos-rebuild switch</code> and reboot system.
Anonymous user