From 2bacd341cc96daab731e879a26707af122c1a33c Mon Sep 17 00:00:00 2001 From: Nettika Date: Thu, 11 Jul 2024 10:18:39 -0700 Subject: [PATCH] Add nix environment selector VSCode extension Remove language-specific extensions --- modules/nixos/vscode-extensions.nix | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/modules/nixos/vscode-extensions.nix b/modules/nixos/vscode-extensions.nix index 6235fed..5e845cc 100644 --- a/modules/nixos/vscode-extensions.nix +++ b/modules/nixos/vscode-extensions.nix @@ -1,19 +1,6 @@ { pkgs, ... }: -let - packagedExtensions = with pkgs.vscode-extensions; [ - bbenoist.nix - github.copilot - ms-python.python - ms-python.vscode-pylance - rust-lang.rust-analyzer - ]; - marketplaceExtensions = (pkgs.vscode-utils.extensionsFromVscodeMarketplace [ - { - name = "openscad-language-support"; - publisher = "Leathong"; - version = "1.2.3"; - sha256 = "2wvlvjHRayf9FmaDZMpiReZ99fvdtANGFst9WfMRCLQ="; - } - ]); -in - packagedExtensions ++ marketplaceExtensions +with pkgs.vscode-extensions; [ + bbenoist.nix + github.copilot + arrterian.nix-env-selector +]