home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 2390f4187bdc3aaf4a8f86fdd2fa2f77fdbab511
parent 13c1ccc0f9190eb02d9a5fdf8c006bf0c31ae638
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Sat, 29 Sep 2018 15:47:13 +0200

vscode: with-extensions

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Moverlays/sbr.nix | 41+++++++++++++++++++++++++++++++++++++++++
Mvscode.nix | 2+-
2 files changed, 42 insertions(+), 1 deletion(-)

diff --git a/overlays/sbr.nix b/overlays/sbr.nix @@ -33,4 +33,45 @@ self: super: tmux-tpm = import ../pkgs/tmux-tpm { inherit (self) stdenv lib fetchFromGitHub; }; + vscode-with-extensions = super.vscode-with-extensions.override { + # code --list-extensions --show-versions + # ls ~/.vscode/extensions + # find version at https://marketplace.visualstudio.com/items?itemName=ms-python.python -> version + vscodeExtensions = + super.vscode-utils.extensionsFromVscodeMarketplace [ + { + name = "EditorConfig"; + publisher = "EditorConfig"; + version = "0.12.4"; + sha256 = "067mxkzjmgz9lv5443ig7jc4dpgml4pz0dac0xmqrdmiwml6j4k4"; + } + { + name = "vsc-material-theme"; + publisher = "Equinusocio"; + version = "2.1.0"; + sha256 = "1rhygrig9z1kxy0ldw28zm6xldjji53s1apxl2n9yi9vl0wn8np1"; + } + { + name = "material-icon-theme"; + publisher = "PKief"; + version = "3.5.0"; + sha256 = "0djr8dxhpf81y3x2haj7jriqsmi87may43myph3rgqmzw2s986sg"; + } + { + name = "Nix"; + publisher = "bbenoist"; + version = "1.0.1"; + sha256 = "0zd0n9f5z1f0ckzfjr38xw2zzmcxg1gjrava7yahg5cvdcw6l35b"; + } + { + name = "fish-vscode"; + publisher = "skyapps"; + version = "0.2.0"; + sha256 = "148r186y3h7n84fcyh6wa2qwl2q3pfi8aykwkc9dhfj3kwfcm5rb"; + } + ]; + # ] ++ with super.vscode-extensions; [ + # bbenoist.Nix + # ]; + }; } diff --git a/vscode.nix b/vscode.nix @@ -2,6 +2,6 @@ { home.packages = with pkgs; [ - vscode + vscode-with-extensions ]; }