Add vscode with extensions to enable neovim mode

This commit is contained in:
Evie Litherland-Smith 2023-05-31 16:44:03 +01:00
parent b77ca6a5d3
commit 9f8e868f09
3 changed files with 26 additions and 1 deletions

25
home/gui/vscode.nix Normal file
View file

@ -0,0 +1,25 @@
{pkgs, ...}: {
programs.vscode = {
enable = true;
package = pkgs.vscodium;
enableExtensionUpdateCheck = false;
enableUpdateCheck = false;
mutableExtensionsDir = false;
extensions = with pkgs.vscode-extensions; [
asvetliakov.vscode-neovim
catppuccin.catppuccin-vsc
ms-vscode-remote.remote-ssh
ms-vsliveshare.vsliveshare
eamodio.gitlens
bbenoist.nix
sumneko.lua
ms-python.python
ms-python.vscode-pylance
ms-pyright.pyright
];
userSettings = {
"[nix]"."editor.tabSize" = 2;
"workbench.colorTheme" = "Catppuccin Macchiato";
};
};
}

View file

@ -3,7 +3,6 @@
./common.nix
./env
./gui
./gui/kdeconnect.nix
./tui
./git/personal.nix
./ssh/personal.nix

View file

@ -3,6 +3,7 @@
./common.nix
./env
./gui
./gui/vscode.nix
./tui
./git/work.nix
./ssh/work.nix