From ad2a90d44c48e7a727f65e2a6e901f6b4b5406d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Wed, 24 May 2023 19:20:22 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=91=E2=80=8D=F0=9F=92=BB=20switch=20to?= =?UTF-8?q?=20vscode=20insiders=20(to=20try=20out=20copilot-chat)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/neodymium/home/vscode/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/hosts/neodymium/home/vscode/default.nix b/hosts/neodymium/home/vscode/default.nix index 2e5e841..0dca10c 100644 --- a/hosts/neodymium/home/vscode/default.nix +++ b/hosts/neodymium/home/vscode/default.nix @@ -1,7 +1,16 @@ { pkgs, ... }: { programs.vscode = { enable = true; - package = pkgs.vscode; + package = (pkgs.vscode.override { isInsiders = true; }).overrideAttrs + (oldAttrs: { + src = (builtins.fetchTarball { + url = + "https://code.visualstudio.com/sha/download?build=insider&os=linux-x64"; + sha256 = "1nvmnf4w2894v21zcmh1xzcxzzilc10qsqhz2i5hqvrn2vcw0ivv"; + }); + pname = "vscode-insiders"; + version = "latest"; + }); extensions = with pkgs.vscode-extensions; [ # github.copilot eamodio.gitlens