nixos/user/programs/vscode/default.nix
2024-12-04 16:15:54 +01:00

28 lines
669 B
Nix

{ pkgs, ... }: {
programs.vscode = {
enable = true;
enableUpdateCheck = true;
enableExtensionUpdateCheck = true;
mutableExtensionsDir = true;
extensions = with pkgs.vscode-extensions; [
catppuccin.catppuccin-vsc
catppuccin.catppuccin-vsc-icons
golang.go
vscodevim.vim
ms-vscode-remote.remote-ssh
bbenoist.nix
github.copilot
github.copilot-chat
arrterian.nix-env-selector
ms-python.python
];
userSettings = {
"window.titleBarStyle" = "custom";
"editor.formatOnSave" = true;
"nix.enableLanguageServer" = true;
"nix.serverPath" = "nil";
};
};
}