infrastructure/home/vscode/default.nix

49 lines
1.6 KiB
Nix
Raw Normal View History

2023-12-15 15:18:36 +00:00
{pkgs, ...}: {
2023-04-08 13:53:58 +00:00
programs.vscode = {
enable = true;
package = pkgs.vscode;
2023-04-08 13:53:58 +00:00
extensions = with pkgs.vscode-extensions; [
catppuccin.catppuccin-vsc
catppuccin.catppuccin-vsc-icons
2023-04-08 13:53:58 +00:00
eamodio.gitlens
2023-04-19 20:09:44 +00:00
editorconfig.editorconfig
github.copilot
gitHub.copilot-chat
github.vscode-pull-request-github
jnoortheen.nix-ide
kamadorueda.alejandra
mkhl.direnv
2023-04-19 20:09:44 +00:00
ms-vsliveshare.vsliveshare
seatonjiang.gitmoji-vscode
2023-04-19 20:09:44 +00:00
tamasfe.even-better-toml
yzhang.markdown-all-in-one
2023-04-08 13:53:58 +00:00
];
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;
"gitmoji.showEmojiCode" = true;
2023-12-15 15:18:36 +00:00
"terminal.integrated.fontFamily" = "'FiraCode Nerd Font Mono', 'Noto Color Emoji'";
2023-04-08 13:53:58 +00:00
"window.menuBarVisibility" = "toggle";
"window.zoomLevel" = -0.25;
"workbench.colorTheme" = "Catppuccin Mocha";
"workbench.editor.empty.hint" = "hidden";
2023-04-19 20:09:44 +00:00
"workbench.iconTheme" = "catppuccin-mocha";
2023-04-08 13:53:58 +00:00
"gitlens.telemetry.enabled" = false;
"telemetry.telemetryLevel" = "off";
"editor.inlineSuggest.enabled" = true;
"liveshare.presence" = true;
2023-12-15 15:18:36 +00:00
"github.copilot.enable" = {"markdown" = true;};
2023-05-07 21:30:38 +00:00
"nix.enableLanguageServer" = true;
"nix.serverPath" = "nil";
"julia.enableTelemetry" = false;
"julia.symbolCacheDownload" = true;
2023-12-15 15:18:36 +00:00
"terminal.integrated.commandsToSkipShell" = ["language-julia.interrupt"];
2023-04-08 13:53:58 +00:00
};
};
}