diff --git a/flake.lock b/flake.lock index 0e13502..8034186 100644 --- a/flake.lock +++ b/flake.lock @@ -95,6 +95,22 @@ "type": "github" } }, + "dotnettoolsVscodeExtensions": { + "locked": { + "lastModified": 1734047168, + "narHash": "sha256-Ox2388ILx6q/0Zae7xmgkgDDGjGtukd6HWdhgfT1IwQ=", + "owner": "GGG-KILLER", + "repo": "nixpkgs", + "rev": "620b6a067933435bd080ce6b566ce52b7d89f123", + "type": "github" + }, + "original": { + "owner": "GGG-KILLER", + "repo": "nixpkgs", + "rev": "620b6a067933435bd080ce6b566ce52b7d89f123", + "type": "github" + } + }, "flake-compat": { "flake": false, "locked": { @@ -827,6 +843,7 @@ "inputs": { "catppuccin-vsc": "catppuccin-vsc", "compose2nix": "compose2nix", + "dotnettoolsVscodeExtensions": "dotnettoolsVscodeExtensions", "gauntlet": "gauntlet", "home-manager": "home-manager", "lanzaboote": "lanzaboote", diff --git a/flake.nix b/flake.nix index baf3318..27b8fd9 100644 --- a/flake.nix +++ b/flake.nix @@ -4,6 +4,7 @@ stable.url = "github:NixOS/nixpkgs/nixos-24.11"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; staging-next.url = "github:NixOS/nixpkgs/staging-next"; + dotnettoolsVscodeExtensions.url = "github:GGG-KILLER/nixpkgs/620b6a067933435bd080ce6b566ce52b7d89f123"; home-manager = { url = "github:nix-community/home-manager/master"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/home-manager/vscode.nix b/home-manager/vscode.nix index 4949b0d..20d1cd6 100644 --- a/home-manager/vscode.nix +++ b/home-manager/vscode.nix @@ -33,7 +33,10 @@ rec { ruff-lsp ]; - programs.vscode = { + programs.vscode = let dotnettools = import inputs.dotnettoolsVscodeExtensions { + inherit system; + config.allowUnfree = true; + }; in { enable = true; enableUpdateCheck = false; enableExtensionUpdateCheck = false; @@ -72,12 +75,17 @@ rec { catppuccin.catppuccin-vsc-icons # C# - pkgs.vscode-extensions.ms-dotnettools.csharp - pkgs.vscode-extensions.ms-dotnettools.csdevkit + dotnettools.vscode-extensions.ms-dotnettools.csharp + dotnettools.vscode-extensions.ms-dotnettools.csdevkit pkgs.vscode-extensions.ms-dotnettools.vscodeintellicode-csharp pkgs.vscode-extensions.ms-dotnettools.vscode-dotnet-runtime csharpier.csharpier-vscode patcx.vscode-nuget-gallery + corylulu.csharp-interpolated-string-converter + adrianwilczynski.asp-net-core-switcher + adrianwilczynski.blazor-snippet-pack + adrianwilczynski.csharp-to-typescript + adrianwilczynski.namespace # Python ms-python.python @@ -173,13 +181,13 @@ rec { esbenp.prettier-vscode # Misc - Visuals + aaron-bond.better-comments naumovs.color-highlight kshetline.ligatures-limited # Misc - Utilities vasubasraj.flashpost adpyke.codesnap - exodiusstudios.comment-anchors elypia.magick-image-reader adpyke.vscode-sql-formatter qwtel.sqlite-viewer