From 9b9043858e12532fdbcc8e138c28f71b289062fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Fri, 23 Dec 2022 20:54:01 +0100 Subject: [PATCH] feat: basic vscode config --- hosts/neodymium/configuration.nix | 35 ++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/hosts/neodymium/configuration.nix b/hosts/neodymium/configuration.nix index c9e4882..697f386 100644 --- a/hosts/neodymium/configuration.nix +++ b/hosts/neodymium/configuration.nix @@ -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 {