add vscode

This commit is contained in:
Cyryl Płotnicki 2023-01-29 08:31:13 +00:00
parent 93b53be203
commit 9b106fd463
2 changed files with 152 additions and 155 deletions

View file

@ -66,12 +66,17 @@
"steam-original" "steam-original"
"steam-runtime" "steam-runtime"
"steam-run" "steam-run"
"vscode-with-extensions"
"vscode"
]; ];
home-manager.users.cyryl = { ... }: { home-manager.users.cyryl = { ... }: {
imports = [ ../../home-manager/programs/alacritty.nix ]; imports =
home.packages = [ [ ../../home-manager/programs/alacritty.nix ../../gui/vscode.nix ];
inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".bisq-desktop home.packages =
]; with inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux"; [
bisq-desktop
pkgs.lutris
];
}; };
} }

View file

@ -1,152 +1,144 @@
{ { config, pkgs, ... }: {
config, home.packages = with pkgs;
pkgs, [
... (vscode-with-extensions.override {
}: { vscodeExtensions = with vscode-extensions;
home.packages = with pkgs; [ [
(vscode-with-extensions.override { ms-python.python
vscodeExtensions = with vscode-extensions; matklad.rust-analyzer
[ (vscode-utils.buildVscodeExtension {
ms-python.python vscodeExtUniqueId = "vadimcn.vscode-lldb";
(vscode-utils.buildVscodeExtension { name = "vadimcn.vscode-lldb-1.6.10";
vscodeExtUniqueId = "vadimcn.vscode-lldb"; src = fetchurl {
name = "vadimcn.vscode-lldb-1.6.10"; name = "vadimcn.vscode-lldb.zip";
src = fetchurl { url =
name = "vadimcn.vscode-lldb.zip"; "https://github.com/vadimcn/vscode-lldb/releases/download/v1.6.10/codelldb-${pkgs.system}.vsix";
url = "https://github.com/vadimcn/vscode-lldb/releases/download/v1.6.10/codelldb-${pkgs.system}.vsix"; sha256 = "sha256-QWbpe6ofacjrTCyWSKljwHDWWeHGmKNqi7cpw8Qy5Tw=";
sha256 = "sha256-QWbpe6ofacjrTCyWSKljwHDWWeHGmKNqi7cpw8Qy5Tw="; };
}; buildInputs = with pkgs; [ llvm lldb python37 autoPatchelfHook ];
buildInputs = with pkgs; [llvm lldb python37 autoPatchelfHook]; })
}) ] ++ vscode-utils.extensionsFromVscodeMarketplace [
] {
++ vscode-utils.extensionsFromVscodeMarketplace [ publisher = "vscodevim";
{ name = "vim";
publisher = "vscodevim"; version = "1.21.7";
name = "vim"; sha256 = "sha256-nCcDafZ2CUhTjVha+6Mjxoil61xMGboO5lajc7dGEJg=";
version = "1.21.7"; }
sha256 = "sha256-nCcDafZ2CUhTjVha+6Mjxoil61xMGboO5lajc7dGEJg="; {
} publisher = "bbenoist";
{ name = "nix";
publisher = "bbenoist"; version = "1.0.1";
name = "nix"; sha256 = "sha256-qwxqOGublQeVP2qrLF94ndX/Be9oZOn+ZMCFX1yyoH0=";
version = "1.0.1"; }
sha256 = "sha256-qwxqOGublQeVP2qrLF94ndX/Be9oZOn+ZMCFX1yyoH0="; {
} publisher = "hashicorp";
{ name = "terraform";
publisher = "matklad"; version = "2.19.0";
name = "rust-analyzer"; sha256 = "sha256-k/fcEJuELz0xkwivSrP6Nxtz861BLq1wR2ZDMXVrvkY=";
version = "0.3.937"; }
sha256 = "sha256-aGBFKnntycpgNFdWwxFPVtQ2ryUvFCx7oet9uILiUTY="; {
} publisher = "be5invis";
{ name = "toml";
publisher = "hashicorp"; version = "0.6.0";
name = "terraform"; sha256 = "sha256-yk7buEyQIw6aiUizAm+sgalWxUibIuP9crhyBaOjC2E=";
version = "2.19.0"; }
sha256 = "sha256-k/fcEJuELz0xkwivSrP6Nxtz861BLq1wR2ZDMXVrvkY="; {
} publisher = "ms-vscode";
{ name = "cpptools-extension-pack";
publisher = "be5invis"; version = "1.1.0";
name = "toml"; sha256 = "sha256-XKHBwoRXNHIpy7gDR9/xEFdEdB4S0B9L9Jbk53f/Vbc=";
version = "0.6.0"; }
sha256 = "sha256-yk7buEyQIw6aiUizAm+sgalWxUibIuP9crhyBaOjC2E="; {
} publisher = "tiehuis";
{ name = "zig";
publisher = "ms-vscode"; version = "0.2.5";
name = "cpptools-extension-pack"; sha256 = "sha256-P8Sep0OtdchTfnudxFNvIK+SW++TyibGVI9zd+B5tu4=";
version = "1.1.0"; }
sha256 = "sha256-XKHBwoRXNHIpy7gDR9/xEFdEdB4S0B9L9Jbk53f/Vbc="; {
} publisher = "sjhuangx";
{ name = "vscode-scheme";
publisher = "tiehuis"; version = "0.4.0";
name = "zig"; sha256 = "07vjfymvfv98s5r5a4b5iqhgfz1wpgq2l8h3wlq1bnhhhvmq5pq4";
version = "0.2.5"; }
sha256 = "sha256-P8Sep0OtdchTfnudxFNvIK+SW++TyibGVI9zd+B5tu4="; {
} publisher = "shaunlebron";
{ name = "vscode-parinfer";
publisher = "sjhuangx"; version = "0.6.2";
name = "vscode-scheme"; sha256 = "0h4v4rnximy6rbh83y4s2qj1cqbj66g9wld39mzd0zwgi6ig9syd";
version = "0.4.0"; }
sha256 = "07vjfymvfv98s5r5a4b5iqhgfz1wpgq2l8h3wlq1bnhhhvmq5pq4"; {
} publisher = "swyphcosmo";
{ name = "spellchecker";
publisher = "shaunlebron"; version = "1.2.13";
name = "vscode-parinfer"; sha256 = "1lr33lf01afgi74c1a9gylk92li4hyq24l8bki4l6ggl4z4c2h3w";
version = "0.6.2"; }
sha256 = "0h4v4rnximy6rbh83y4s2qj1cqbj66g9wld39mzd0zwgi6ig9syd"; {
} publisher = "asabil";
{ name = "meson";
publisher = "swyphcosmo"; version = "1.1.1";
name = "spellchecker"; sha256 = "00cc28a2nb325f54bx51wf5q15x1pmsn0j9z6rnxxqxwii1dm5cl";
version = "1.2.13"; }
sha256 = "1lr33lf01afgi74c1a9gylk92li4hyq24l8bki4l6ggl4z4c2h3w"; {
} publisher = "codezombiech";
{ name = "gitignore";
publisher = "asabil"; version = "0.6.0";
name = "meson"; sha256 = "0gnc0691pwkd9s8ldqabmpfvj0236rw7bxvkf0bvmww32kv1ia0b";
version = "1.1.1"; }
sha256 = "00cc28a2nb325f54bx51wf5q15x1pmsn0j9z6rnxxqxwii1dm5cl"; {
} publisher = "DavidAnson";
{ name = "vscode-markdownlint";
publisher = "codezombiech"; version = "0.26.0";
name = "gitignore"; sha256 = "0g4pssvajn7d8p2547v7313gjyqx4pzs7cbjws2s3v2fk1sw7vbj";
version = "0.6.0"; }
sha256 = "0gnc0691pwkd9s8ldqabmpfvj0236rw7bxvkf0bvmww32kv1ia0b"; {
} publisher = "esbenp";
{ name = "prettier-vscode";
publisher = "DavidAnson"; version = "1.8.1";
name = "vscode-markdownlint"; sha256 = "0qcm2784n9qc4p77my1kwqrswpji7bp895ay17yzs5g84cj010ln";
version = "0.26.0"; }
sha256 = "0g4pssvajn7d8p2547v7313gjyqx4pzs7cbjws2s3v2fk1sw7vbj"; {
} publisher = "hbenl";
{ name = "vscode-test-explorer";
publisher = "esbenp"; version = "2.9.3";
name = "prettier-vscode"; sha256 = "1yf85hgvganxq5n5jff9ckn3smxd6xi79cgn6k53qi5w1r5rahy0";
version = "1.8.1"; }
sha256 = "0qcm2784n9qc4p77my1kwqrswpji7bp895ay17yzs5g84cj010ln"; {
} publisher = "lextudio";
{ name = "restructuredtext";
publisher = "hbenl"; version = "106.0.0";
name = "vscode-test-explorer"; sha256 = "096r8071202nxi1is6z7dghcmpsh0f0mm3mp3cfh1yj2mnyzlaxa";
version = "2.9.3"; }
sha256 = "1yf85hgvganxq5n5jff9ckn3smxd6xi79cgn6k53qi5w1r5rahy0"; {
} publisher = "lostintangent";
{ name = "vsls-pomodoro";
publisher = "lextudio"; version = "0.1.0";
name = "restructuredtext"; sha256 = "1b73zbkhlhacvi18cx4g3n6randy3hw9cab1gkw5gzb3375w7w3p";
version = "106.0.0"; }
sha256 = "096r8071202nxi1is6z7dghcmpsh0f0mm3mp3cfh1yj2mnyzlaxa"; {
} publisher = "lostintangent";
{ name = "vsls-whiteboard";
publisher = "lostintangent"; version = "0.0.8";
name = "vsls-pomodoro"; sha256 = "13fcay9bs861msb5y694casbw66dmhl504xm5cvprssx1qka186p";
version = "0.1.0"; }
sha256 = "1b73zbkhlhacvi18cx4g3n6randy3hw9cab1gkw5gzb3375w7w3p"; {
} publisher = "mechatroner";
{ name = "rainbow-csv";
publisher = "lostintangent"; version = "1.0.0";
name = "vsls-whiteboard"; sha256 = "1fyamgm7zq31r3c00cn6pcb66rrkfhwfmp72qnhrajydmnvcnbg6";
version = "0.0.8"; }
sha256 = "13fcay9bs861msb5y694casbw66dmhl504xm5cvprssx1qka186p"; {
} publisher = "ronnidc";
{ name = "nunjucks";
publisher = "mechatroner"; version = "0.2.3";
name = "rainbow-csv"; sha256 = "119xgyn1dggw2rcqkn2mnz364iw5jlrxg7pcydbijsqj5d3zdfsf";
version = "1.0.0"; }
sha256 = "1fyamgm7zq31r3c00cn6pcb66rrkfhwfmp72qnhrajydmnvcnbg6"; {
} publisher = "serayuzgur";
{ name = "crates";
publisher = "ronnidc"; version = "0.4.2";
name = "nunjucks"; sha256 = "1knspsc98cfw4mhc0yaz0f2185sxdf9kn9qsysfs6c82g9wjaqcj";
version = "0.2.3"; }
sha256 = "119xgyn1dggw2rcqkn2mnz364iw5jlrxg7pcydbijsqj5d3zdfsf"; ];
} })
{ ];
publisher = "serayuzgur";
name = "crates";
version = "0.4.2";
sha256 = "1knspsc98cfw4mhc0yaz0f2185sxdf9kn9qsysfs6c82g9wjaqcj";
}
];
})
];
} }