feat: basic vscode config

This commit is contained in:
Laureηt 2022-12-23 20:54:01 +01:00
parent 334c7e0cac
commit 9b9043858e
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI

View file

@ -108,7 +108,6 @@ in {
mpv
feh
vscode
birdtray
keepassxc
x2goclient
@ -244,6 +243,40 @@ in {
};
};
programs.vscode = {
enable = true;
package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [
bbenoist.nix
brettm12345.nixfmt-vscode
arrterian.nix-env-selector
eamodio.gitlens
github.copilot
editorconfig.editorconfig
yzhang.markdown-all-in-one
catppuccin.catppuccin-vsc
file-icons.file-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" = "file-icons";
};
};
wayland.windowManager.sway = {
enable = true;
config = rec {