Configure VSCode extensions declaratively
This commit is contained in:
16
coding.nix
16
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 = {
|
||||
|
Reference in New Issue
Block a user