Did you mean to attach a picture of the error?
this post was submitted on 17 Nov 2023
1 points (100.0% liked)
Nix
1 readers
1 users here now
founded 1 year ago
MODERATORS
https://github.com/microsoft/vscode/issues/183314 seems related
I've checked that, tried reinstalling as well. No luck.
I'm using Nvidia with Hyprland.
I had troubles with vscode, I don't actually use the program but the last time I checked this was working for me:
{ pkgs, home-manager, username, ... }:
{
home-manager.users.${username} = { pkgs, ... }: {
# VS Code on Wayland has issues, make sure to set the title bar to custom
# https://github.com/microsoft/vscode/issues/181533
programs.vscode = {
enable = true;
enableUpdateCheck = true;
enableExtensionUpdateCheck = true;
extensions = with pkgs.vscode-extensions; [
golang.go
vscodevim.vim
github.copilot
github.github-vscode-theme
github.vscode-github-actions
#ms-python.python
ms-vscode.powershell
bbenoist.nix
];
userSettings = {
"window.titleBarStyle" = "custom";
"workbench.colorTheme" = "Github Dark Colorblind (Beta)";
"editor.fontFamily" = "'M+1Code Nerd Font','Droid Sans Mono', 'monospace', monospace";
"github.copilot.enable" = {
"*" = true;
"plaintext" = false;
"markdown" = true;
"scminput" = false;
};
"powershell.powerShellAdditionalExePaths" = "/run/current-system/sw/bin/pwsh";
};
};
};
}