17 lines
562 B
Nix
17 lines
562 B
Nix
{ pkgs, ... }: let
|
|
unstable = import (fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) {
|
|
config = { allowUnfree = true; };
|
|
};
|
|
vscode-insiders = (unstable.vscode.override { isInsiders = true; }).overrideAttrs (oldAttrs: rec {
|
|
src = (builtins.fetchTarball {
|
|
url = "https://update.code.visualstudio.com/1.98.0-insider/linux-x64/insider";
|
|
sha256 = "sha256-tV0VxDLJJPD4jfNEgVh3wMXg899VJxCS5a3putdetkA=";
|
|
});
|
|
version = "1.98.0";
|
|
});
|
|
in {
|
|
environment.systemPackages = with pkgs; [
|
|
vscode-insiders
|
|
];
|
|
}
|