Files
setup-machines/home-manager/IDEs/vscode.nix
Noah Knegt c1f502d7c6 Set vscode font
Signed-off-by: Noah Knegt <git@noahknegt.com>
2025-03-01 13:53:45 +01:00

43 lines
969 B
Nix

{ pkgs, ... }:
{
programs.vscode = {
enable = true;
extensions = with pkgs.vscode-extensions; [
catppuccin.catppuccin-vsc
catppuccin.catppuccin-vsc-icons
jnoortheen.nix-ide
mhutchie.git-graph
donjayamanne.githistory
eamodio.gitlens
# Rust plugins
rust-lang.rust-analyzer
tamasfe.even-better-toml
fill-labs.dependi
];
userSettings = {
# Theme
"workbench.iconTheme" = "catppuccin-mocha";
"workbench.colorTheme" = "Catppuccin Mocha";
"workbench.sideBar.location" = "right";
"workbench.activityBar.location" = "bottom";
"editor.fontFamily" = "Source Code Pro";
# Settings for all files
"files.autoSave" = "off";
# Git settings
"git.autofetch" = true;
"git.confirmSync" = false;
"git.alwaysSignOff" = true;
"git.pruneOnFetch" = true;
# Nix lang settings
"[nix]"."editor.tabSize" = 2;
};
};
}