_nix-addict

joined 1 year ago
[โ€“] _nix-addict@alien.top 1 points 1 year ago

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";
      };
    };
  };
}
[โ€“] _nix-addict@alien.top 1 points 1 year ago

NixOS does not do snapshots of the complete system.

The "rollbacks" that are available built-in apply only to changes applied by the configuration.nix.