various vscode changes

- do not use fhsWithPackages - it causes issues with xonsh and is just generally not recommended unless absolutely necessary
- get dotnet/csharp extensions from nixpkgs
- get go extension from nixpkgs
- disable vscode's update and extension update checks
This commit is contained in:
Seaswimmer 2024-12-08 19:32:01 -05:00
parent 10801225b9
commit a6425cba3b
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -30,13 +30,16 @@ rec {
programs.vscode = { programs.vscode = {
enable = true; enable = true;
package = pkgs.vscode.fhsWithPackages ( enableUpdateCheck = false;
ps: with pkgs; [ enableExtensionUpdateCheck = false;
dotnetCorePackages.sdk_8_0 package = pkgs.vscode;
jdk21 # package = pkgs.vscode.fhsWithPackages (
go # ps: with pkgs; [
] # dotnetCorePackages.sdk_8_0
); # jdk21
# go
# ]
# );
extensions = extensions =
with inputs.nix-vscode-extensions.extensions.${system}.vscode-marketplace; with inputs.nix-vscode-extensions.extensions.${system}.vscode-marketplace;
with inputs.nix-vscode-extensions.extensions.${system}.vscode-marketplace-release; with inputs.nix-vscode-extensions.extensions.${system}.vscode-marketplace-release;
@ -64,10 +67,10 @@ rec {
catppuccin.catppuccin-vsc-icons catppuccin.catppuccin-vsc-icons
# C# # C#
ms-dotnettools.csharp pkgs.vscode-extensions.ms-dotnettools.csharp
ms-dotnettools.csdevkit pkgs.vscode-extensions.ms-dotnettools.csdevkit
ms-dotnettools.vscodeintellicode-csharp pkgs.vscode-extensions.ms-dotnettools.vscodeintellicode-csharp
ms-dotnettools.vscode-dotnet-runtime pkgs.vscode-extensions.ms-dotnettools.vscode-dotnet-runtime
csharpier.csharpier-vscode csharpier.csharpier-vscode
patcx.vscode-nuget-gallery patcx.vscode-nuget-gallery
@ -97,7 +100,7 @@ rec {
nightrains.robloxlsp nightrains.robloxlsp
# Go # Go
golang.go pkgs.vscode-extensions.golang.go
# Hugo # Hugo
budparr.language-hugo-vscode budparr.language-hugo-vscode