{ pkgs, ... }: { programs.vscode = { enable = true; package = pkgs.vscodium; extensions = with pkgs.vscode-extensions; [ # nix language bbenoist.nix # python ms-python.python # .md preview bierner.markdown-preview-github-styles # Color theme catppuccin.catppuccin-vsc catppuccin.catppuccin-vsc-icons ]; userSettings = { "update.mode" = "none"; "extensions.autoUpdate" = false; # This stuff fixes vscode freaking out when theres an update "window.titleBarStyle" = "custom"; # needed otherwise vscode crashes, see https://github.com/NixOS/nixpkgs/issues/246509 "window.menuBarVisibility" = "toggle"; "editor.fontFamily" = "'JetBrainsMono Nerd Font', 'SymbolsNerdFont', 'monospace', monospace"; "terminal.integrated.fontFamily" = "'JetBrainsMono Nerd Font', 'SymbolsNerdFont'"; "editor.fontSize" = 16; "workbench.colorTheme" = "Catppuccin Mocha"; "workbench.iconTheme" = "catppuccin-mocha"; "vsicons.dontShowNewVersionMessage" = true; "editor.fontLigatures" = true; "editor.minimap.enabled" = false; "editor.mouseWheelZoom" = true; # keyboard shortcuts "editor.action.commentLine" = "ctrl+d"; "workbench.action.files.saveFiles" = "ctrl+s"; }; }; }