try adding platformio to vscode
This commit is contained in:
parent
ff38de4a26
commit
4576c9875e
1 changed files with 172 additions and 163 deletions
|
@ -1,169 +1,178 @@
|
||||||
{
|
{
|
||||||
config,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
home.packages = with pkgs; [
|
home.packages = [pkgs.python3];
|
||||||
(vscode-with-extensions.override {
|
programs.vscode = {
|
||||||
vscodeExtensions = with vscode-extensions;
|
enable = true;
|
||||||
[
|
userSettings = {
|
||||||
ms-python.python
|
editor.fontFamily = "'Berkeley Mono', 'Droid Sans Mono', 'monospace', monospace";
|
||||||
inputs.nixpkgs-rust-analyzer.legacyPackages.x86_64-linux.vscode-extensions.rust-lang.rust-analyzer
|
editor.formatOnType = true;
|
||||||
(vscode-utils.buildVscodeExtension {
|
editor.fontSize = 16;
|
||||||
vscodeExtUniqueId = "vadimcn.vscode-lldb";
|
files.autoSave = "onFocusChange";
|
||||||
vscodeExtPublisher = "vadimcn";
|
platformio-ide = {
|
||||||
vscodeExtName = "vscode-lldb";
|
useBuiltinPIOCore = true;
|
||||||
version = "1.6.10";
|
useBuiltinPython = true;
|
||||||
name = "vadimcn.vscode-lldb-1.6.10";
|
};
|
||||||
src = fetchurl {
|
};
|
||||||
name = "vadimcn.vscode-lldb.zip";
|
extensions = with pkgs.vscode-extensions;
|
||||||
url = "https://github.com/vadimcn/vscode-lldb/releases/download/v1.6.10/codelldb-${pkgs.system}.vsix";
|
[
|
||||||
sha256 = "sha256-QWbpe6ofacjrTCyWSKljwHDWWeHGmKNqi7cpw8Qy5Tw=";
|
ms-python.python
|
||||||
};
|
inputs.nixpkgs-rust-analyzer.legacyPackages.x86_64-linux.vscode-extensions.rust-lang.rust-analyzer
|
||||||
buildInputs = with pkgs; [llvm lldb python38 autoPatchelfHook];
|
(pkgs.vscode-utils.buildVscodeExtension {
|
||||||
})
|
vscodeExtUniqueId = "vadimcn.vscode-lldb";
|
||||||
]
|
vscodeExtPublisher = "vadimcn";
|
||||||
++ vscode-utils.extensionsFromVscodeMarketplace [
|
vscodeExtName = "vscode-lldb";
|
||||||
{
|
version = "1.6.10";
|
||||||
publisher = "vscodevim";
|
name = "vadimcn.vscode-lldb-1.6.10";
|
||||||
name = "vim";
|
src = pkgs.fetchurl {
|
||||||
version = "1.25.2";
|
name = "vadimcn.vscode-lldb.zip";
|
||||||
sha256 = "sha256-hy2Ks6oRc9io6vfgql9aFGjUiRzBCS4mGdDO3NqIFEg=";
|
url = "https://github.com/vadimcn/vscode-lldb/releases/download/v1.6.10/codelldb-${pkgs.system}.vsix";
|
||||||
}
|
sha256 = "sha256-QWbpe6ofacjrTCyWSKljwHDWWeHGmKNqi7cpw8Qy5Tw=";
|
||||||
{
|
};
|
||||||
publisher = "platformio";
|
buildInputs = with pkgs; [llvm lldb python38 autoPatchelfHook];
|
||||||
name = "platformio-ide";
|
})
|
||||||
version = "3.3.1";
|
]
|
||||||
sha256 = "sha256-zBZFpOWJ4JEv6qu9XT1u0uspZ+N2wKrpL3joC+/t/zs=";
|
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||||
}
|
{
|
||||||
{
|
publisher = "vscodevim";
|
||||||
publisher = "bierner";
|
name = "vim";
|
||||||
name = "markdown-mermaid";
|
version = "1.25.2";
|
||||||
version = "1.18.1";
|
sha256 = "sha256-hy2Ks6oRc9io6vfgql9aFGjUiRzBCS4mGdDO3NqIFEg=";
|
||||||
sha256 = "sha256-JWeSs7V/LZ345vGWOLeUgGi68Fot/eA2k+CzWL/Wp4w=";
|
}
|
||||||
}
|
{
|
||||||
{
|
publisher = "platformio";
|
||||||
publisher = "arrterian";
|
name = "platformio-ide";
|
||||||
name = "nix-env-selector";
|
version = "3.3.1";
|
||||||
version = "1.0.9";
|
sha256 = "sha256-zBZFpOWJ4JEv6qu9XT1u0uspZ+N2wKrpL3joC+/t/zs=";
|
||||||
sha256 = "sha256-TkxqWZ8X+PAonzeXQ+sI9WI+XlqUHll7YyM7N9uErk0=";
|
}
|
||||||
}
|
{
|
||||||
{
|
publisher = "bierner";
|
||||||
publisher = "bbenoist";
|
name = "markdown-mermaid";
|
||||||
name = "nix";
|
version = "1.18.1";
|
||||||
version = "1.0.1";
|
sha256 = "sha256-JWeSs7V/LZ345vGWOLeUgGi68Fot/eA2k+CzWL/Wp4w=";
|
||||||
sha256 = "sha256-qwxqOGublQeVP2qrLF94ndX/Be9oZOn+ZMCFX1yyoH0=";
|
}
|
||||||
}
|
{
|
||||||
{
|
publisher = "arrterian";
|
||||||
publisher = "hashicorp";
|
name = "nix-env-selector";
|
||||||
name = "terraform";
|
version = "1.0.9";
|
||||||
version = "2.19.0";
|
sha256 = "sha256-TkxqWZ8X+PAonzeXQ+sI9WI+XlqUHll7YyM7N9uErk0=";
|
||||||
sha256 = "sha256-k/fcEJuELz0xkwivSrP6Nxtz861BLq1wR2ZDMXVrvkY=";
|
}
|
||||||
}
|
{
|
||||||
{
|
publisher = "bbenoist";
|
||||||
publisher = "be5invis";
|
name = "nix";
|
||||||
name = "toml";
|
version = "1.0.1";
|
||||||
version = "0.6.0";
|
sha256 = "sha256-qwxqOGublQeVP2qrLF94ndX/Be9oZOn+ZMCFX1yyoH0=";
|
||||||
sha256 = "sha256-yk7buEyQIw6aiUizAm+sgalWxUibIuP9crhyBaOjC2E=";
|
}
|
||||||
}
|
{
|
||||||
{
|
publisher = "hashicorp";
|
||||||
publisher = "ms-vscode";
|
name = "terraform";
|
||||||
name = "cpptools-extension-pack";
|
version = "2.19.0";
|
||||||
version = "1.1.0";
|
sha256 = "sha256-k/fcEJuELz0xkwivSrP6Nxtz861BLq1wR2ZDMXVrvkY=";
|
||||||
sha256 = "sha256-XKHBwoRXNHIpy7gDR9/xEFdEdB4S0B9L9Jbk53f/Vbc=";
|
}
|
||||||
}
|
{
|
||||||
{
|
publisher = "be5invis";
|
||||||
publisher = "tiehuis";
|
name = "toml";
|
||||||
name = "zig";
|
version = "0.6.0";
|
||||||
version = "0.2.5";
|
sha256 = "sha256-yk7buEyQIw6aiUizAm+sgalWxUibIuP9crhyBaOjC2E=";
|
||||||
sha256 = "sha256-P8Sep0OtdchTfnudxFNvIK+SW++TyibGVI9zd+B5tu4=";
|
}
|
||||||
}
|
{
|
||||||
{
|
publisher = "ms-vscode";
|
||||||
publisher = "sjhuangx";
|
name = "cpptools";
|
||||||
name = "vscode-scheme";
|
version = "1.17.5";
|
||||||
version = "0.4.0";
|
sha256 = "sha256-LAAEw8goAw3x1MU/TkIdLgPYa0f5b6Hv4GkeiPTVbdY=";
|
||||||
sha256 = "07vjfymvfv98s5r5a4b5iqhgfz1wpgq2l8h3wlq1bnhhhvmq5pq4";
|
}
|
||||||
}
|
{
|
||||||
{
|
publisher = "ms-vscode";
|
||||||
publisher = "shaunlebron";
|
name = "cpptools-extension-pack";
|
||||||
name = "vscode-parinfer";
|
version = "1.3.0";
|
||||||
version = "0.6.2";
|
sha256 = "sha256-rHST7CYCVins3fqXC+FYiS5Xgcjmi7QW7M4yFrUR04U=";
|
||||||
sha256 = "0h4v4rnximy6rbh83y4s2qj1cqbj66g9wld39mzd0zwgi6ig9syd";
|
}
|
||||||
}
|
{
|
||||||
{
|
publisher = "tiehuis";
|
||||||
publisher = "swyphcosmo";
|
name = "zig";
|
||||||
name = "spellchecker";
|
version = "0.2.5";
|
||||||
version = "1.2.13";
|
sha256 = "sha256-P8Sep0OtdchTfnudxFNvIK+SW++TyibGVI9zd+B5tu4=";
|
||||||
sha256 = "1lr33lf01afgi74c1a9gylk92li4hyq24l8bki4l6ggl4z4c2h3w";
|
}
|
||||||
}
|
{
|
||||||
{
|
publisher = "sjhuangx";
|
||||||
publisher = "asabil";
|
name = "vscode-scheme";
|
||||||
name = "meson";
|
version = "0.4.0";
|
||||||
version = "1.1.1";
|
sha256 = "07vjfymvfv98s5r5a4b5iqhgfz1wpgq2l8h3wlq1bnhhhvmq5pq4";
|
||||||
sha256 = "00cc28a2nb325f54bx51wf5q15x1pmsn0j9z6rnxxqxwii1dm5cl";
|
}
|
||||||
}
|
{
|
||||||
{
|
publisher = "shaunlebron";
|
||||||
publisher = "codezombiech";
|
name = "vscode-parinfer";
|
||||||
name = "gitignore";
|
version = "0.6.2";
|
||||||
version = "0.6.0";
|
sha256 = "0h4v4rnximy6rbh83y4s2qj1cqbj66g9wld39mzd0zwgi6ig9syd";
|
||||||
sha256 = "0gnc0691pwkd9s8ldqabmpfvj0236rw7bxvkf0bvmww32kv1ia0b";
|
}
|
||||||
}
|
{
|
||||||
{
|
publisher = "swyphcosmo";
|
||||||
publisher = "DavidAnson";
|
name = "spellchecker";
|
||||||
name = "vscode-markdownlint";
|
version = "1.2.13";
|
||||||
version = "0.26.0";
|
sha256 = "1lr33lf01afgi74c1a9gylk92li4hyq24l8bki4l6ggl4z4c2h3w";
|
||||||
sha256 = "0g4pssvajn7d8p2547v7313gjyqx4pzs7cbjws2s3v2fk1sw7vbj";
|
}
|
||||||
}
|
{
|
||||||
{
|
publisher = "asabil";
|
||||||
publisher = "esbenp";
|
name = "meson";
|
||||||
name = "prettier-vscode";
|
version = "1.1.1";
|
||||||
version = "1.8.1";
|
sha256 = "00cc28a2nb325f54bx51wf5q15x1pmsn0j9z6rnxxqxwii1dm5cl";
|
||||||
sha256 = "0qcm2784n9qc4p77my1kwqrswpji7bp895ay17yzs5g84cj010ln";
|
}
|
||||||
}
|
{
|
||||||
{
|
publisher = "codezombiech";
|
||||||
publisher = "hbenl";
|
name = "gitignore";
|
||||||
name = "vscode-test-explorer";
|
version = "0.6.0";
|
||||||
version = "2.9.3";
|
sha256 = "0gnc0691pwkd9s8ldqabmpfvj0236rw7bxvkf0bvmww32kv1ia0b";
|
||||||
sha256 = "1yf85hgvganxq5n5jff9ckn3smxd6xi79cgn6k53qi5w1r5rahy0";
|
}
|
||||||
}
|
{
|
||||||
{
|
publisher = "DavidAnson";
|
||||||
publisher = "lextudio";
|
name = "vscode-markdownlint";
|
||||||
name = "restructuredtext";
|
version = "0.26.0";
|
||||||
version = "106.0.0";
|
sha256 = "0g4pssvajn7d8p2547v7313gjyqx4pzs7cbjws2s3v2fk1sw7vbj";
|
||||||
sha256 = "096r8071202nxi1is6z7dghcmpsh0f0mm3mp3cfh1yj2mnyzlaxa";
|
}
|
||||||
}
|
{
|
||||||
{
|
publisher = "esbenp";
|
||||||
publisher = "lostintangent";
|
name = "prettier-vscode";
|
||||||
name = "vsls-pomodoro";
|
version = "1.8.1";
|
||||||
version = "0.1.0";
|
sha256 = "0qcm2784n9qc4p77my1kwqrswpji7bp895ay17yzs5g84cj010ln";
|
||||||
sha256 = "1b73zbkhlhacvi18cx4g3n6randy3hw9cab1gkw5gzb3375w7w3p";
|
}
|
||||||
}
|
{
|
||||||
{
|
publisher = "hbenl";
|
||||||
publisher = "lostintangent";
|
name = "vscode-test-explorer";
|
||||||
name = "vsls-whiteboard";
|
version = "2.9.3";
|
||||||
version = "0.0.8";
|
sha256 = "1yf85hgvganxq5n5jff9ckn3smxd6xi79cgn6k53qi5w1r5rahy0";
|
||||||
sha256 = "13fcay9bs861msb5y694casbw66dmhl504xm5cvprssx1qka186p";
|
}
|
||||||
}
|
{
|
||||||
{
|
publisher = "lostintangent";
|
||||||
publisher = "mechatroner";
|
name = "vsls-pomodoro";
|
||||||
name = "rainbow-csv";
|
version = "0.1.0";
|
||||||
version = "1.0.0";
|
sha256 = "1b73zbkhlhacvi18cx4g3n6randy3hw9cab1gkw5gzb3375w7w3p";
|
||||||
sha256 = "1fyamgm7zq31r3c00cn6pcb66rrkfhwfmp72qnhrajydmnvcnbg6";
|
}
|
||||||
}
|
{
|
||||||
{
|
publisher = "lostintangent";
|
||||||
publisher = "ronnidc";
|
name = "vsls-whiteboard";
|
||||||
name = "nunjucks";
|
version = "0.0.8";
|
||||||
version = "0.2.3";
|
sha256 = "13fcay9bs861msb5y694casbw66dmhl504xm5cvprssx1qka186p";
|
||||||
sha256 = "119xgyn1dggw2rcqkn2mnz364iw5jlrxg7pcydbijsqj5d3zdfsf";
|
}
|
||||||
}
|
{
|
||||||
{
|
publisher = "mechatroner";
|
||||||
publisher = "serayuzgur";
|
name = "rainbow-csv";
|
||||||
name = "crates";
|
version = "1.0.0";
|
||||||
version = "0.4.2";
|
sha256 = "1fyamgm7zq31r3c00cn6pcb66rrkfhwfmp72qnhrajydmnvcnbg6";
|
||||||
sha256 = "1knspsc98cfw4mhc0yaz0f2185sxdf9kn9qsysfs6c82g9wjaqcj";
|
}
|
||||||
}
|
{
|
||||||
];
|
publisher = "ronnidc";
|
||||||
})
|
name = "nunjucks";
|
||||||
];
|
version = "0.2.3";
|
||||||
|
sha256 = "119xgyn1dggw2rcqkn2mnz364iw5jlrxg7pcydbijsqj5d3zdfsf";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
publisher = "serayuzgur";
|
||||||
|
name = "crates";
|
||||||
|
version = "0.4.2";
|
||||||
|
sha256 = "1knspsc98cfw4mhc0yaz0f2185sxdf9kn9qsysfs6c82g9wjaqcj";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue