diff options
Diffstat (limited to 'modules/home-manager/vscode.nix')
| -rw-r--r-- | modules/home-manager/vscode.nix | 59 |
1 files changed, 34 insertions, 25 deletions
diff --git a/modules/home-manager/vscode.nix b/modules/home-manager/vscode.nix index 3dd2541..69d813a 100644 --- a/modules/home-manager/vscode.nix +++ b/modules/home-manager/vscode.nix @@ -1,4 +1,9 @@ -{ config, lib, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: { options.vscode.enable = lib.mkEnableOption "Enable vscode and setup"; @@ -9,42 +14,46 @@ profiles.default = { enableUpdateCheck = true; enableExtensionUpdateCheck = true; - + userSettings = { "update.mode" = "none"; "workbench.colorTheme" = "Minimal"; - "editor.fontFamily" = "'SpaceMono Nerd Font Mono', monospace"; + "editor.fontFamily" = "monospace"; "editor.tabSize" = 2; "editor.minimap.enabled" = false; "terminal.integrated.cursorStyle" = "underline"; "terminal.integrated.cursorStyleInactive" = "underline"; - "terminal.integrated.fontFamily" = "'BlexMono Nerd Font Mono', monospace"; + "terminal.integrated.fontFamily" = "monospace"; "terminal.integrated.fontSize" = 13; "git.autofetch" = true; "window.controlsStyle" = "custom"; }; - extensions = (with pkgs.vscode-extensions; [ - ms-vscode.cmake-tools - ms-azuretools.vscode-docker - eamodio.gitlens - ms-python.python - golang.go - rust-lang.rust-analyzer - vscjava.vscode-maven - sumneko.lua - #fwcd.kotlin - bradlc.vscode-tailwindcss - adpyke.codesnap - esbenp.prettier-vscode - ] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ - { - name = "minimalist-dark"; - publisher = "nichabosh"; - version = "1.0.0"; - sha256 = "sha256-lw+Scfada6DycLdRT2Cz+Fd12JucglIrw3uRd2ZhabQ="; - } - ]); + extensions = ( + with pkgs.vscode-extensions; + [ + ms-vscode.cmake-tools + ms-azuretools.vscode-docker + eamodio.gitlens + ms-python.python + golang.go + rust-lang.rust-analyzer + vscjava.vscode-maven + sumneko.lua + #fwcd.kotlin + bradlc.vscode-tailwindcss + adpyke.codesnap + esbenp.prettier-vscode + ] + ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ + { + name = "minimalist-dark"; + publisher = "nichabosh"; + version = "1.0.0"; + sha256 = "sha256-lw+Scfada6DycLdRT2Cz+Fd12JucglIrw3uRd2ZhabQ="; + } + ] + ); }; }; }; |
