Configure VSCode extensions declaratively

This commit is contained in:
2024-06-20 21:31:01 -07:00
parent 6a3b83400f
commit 5a602fe4c0

View File

@@ -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 = {