30 lines
1 KiB
Nix
30 lines
1 KiB
Nix
{ pkgs, ... }:
|
|
{
|
|
programs.vscode = {
|
|
enable = true;
|
|
# package = pkgs.vscodium;
|
|
extensions = with pkgs.vscode-extensions; [
|
|
bbenoist.nix
|
|
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.menuBarVisibility" = "toggle";
|
|
"editor.fontFamily" = "'JetBrainsMono Nerd Font', 'SymbolsNerdFont', 'monospace', monospace";
|
|
"terminal.integrated.fontFamily" = "'JetBrainsMono Nerd Font', 'SymbolsNerdFont'";
|
|
"workbench.colorTheme" = "Catppuccin Mocha";
|
|
"workbench.iconTheme" = "catppuccin-vsc-icons";
|
|
"vsicons.dontShowNewVersionMessage" = true;
|
|
"editor.fontLigatures" = true;
|
|
"editor.minimap.enabled" = false;
|
|
|
|
"window.titleBarStyle" = "custom"; # needed otherwise vscode crashes, see https://github.com/NixOS/nixpkgs/issues/246509
|
|
|
|
"editor.action.commentLine" = "ctrl+d";
|
|
};
|
|
};
|
|
}
|