• 0 Posts
  • 2 Comments
Joined 11 months ago
cake
Cake day: October 24th, 2023

help-circle
  • 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";
          };
        };
      };
    }