nixos/user/programs/vscode/default.nix
2025-01-12 14:40:40 +01:00

38 lines
849 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";
"nix.formatterPath" = "nixfmt";
"nix.serverSettings" = {
"nil" = {
"formatting" = {
"command"= ["nixpkgs-fmt"];
};
};
};
};
};
}