45 lines
1.0 KiB
Nix
45 lines
1.0 KiB
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
programs.vscode = {
|
|
enable = true;
|
|
profiles.default.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
|
|
|
|
ms-vscode.cpptools
|
|
];
|
|
|
|
profiles.default.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;
|
|
};
|
|
};
|
|
} |