infrastructure/hosts/neodymium/home/vscode/default.nix
2023-04-19 22:09:44 +02:00

43 lines
1.3 KiB
Nix

{ pkgs, ... }: {
programs.vscode = {
enable = true;
package = pkgs.vscode;
extensions = with pkgs.vscode-extensions; [
github.copilot
eamodio.gitlens
editorconfig.editorconfig
ms-vsliveshare.vsliveshare
yzhang.markdown-all-in-one
tamasfe.even-better-toml
mkhl.direnv
bbenoist.nix
brettm12345.nixfmt-vscode
catppuccin.catppuccin-vsc
catppuccin.catppuccin-vsc-icons
];
userSettings = {
"editor.fontFamily" = "'FiraCode Nerd Font Mono', 'Noto Color Emoji'";
"editor.fontLigatures" = true;
"editor.formatOnSave" = true;
"git.autofetch" = true;
"git.confirmSync" = false;
"git.enableSmartCommit" = true;
"terminal.integrated.fontFamily" =
"'FiraCode Nerd Font Mono', 'Noto Color Emoji'";
"window.menuBarVisibility" = "toggle";
"window.zoomLevel" = -0.25;
"workbench.colorTheme" = "Catppuccin Mocha";
"workbench.editor.untitled.hint" = "hidden";
"workbench.iconTheme" = "catppuccin-mocha";
"gitlens.telemetry.enabled" = false;
"telemetry.telemetryLevel" = "off";
"editor.inlineSuggest.enabled" = true;
"liveshare.presence" = true;
"github.copilot.enable" = { "*" = true; };
};
};
}