From 5a602fe4c050b42c30bb9358435b0f0a3c3b7988 Mon Sep 17 00:00:00 2001 From: Nettika Date: Thu, 20 Jun 2024 21:31:01 -0700 Subject: [PATCH] Configure VSCode extensions declaratively --- coding.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/coding.nix b/coding.nix index bbc2dba..cec270c 100644 --- a/coding.nix +++ b/coding.nix @@ -1,8 +1,22 @@ { pkgs, ... }: { environment.systemPackages = with pkgs; [ - vscode rustup + (vscode-with-extensions.override { + vscodeExtensions = with vscode-extensions; [ + bbenoist.nix + ms-python.python + ms-python.vscode-pylance + rust-lang.rust-analyzer + ] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ + { + name = "openscad-language-support"; + publisher = "Leathong"; + version = "1.2.3"; + sha256 = "2wvlvjHRayf9FmaDZMpiReZ99fvdtANGFst9WfMRCLQ="; + } + ]; + }) ]; programs = {