Files
nixos/hosts/nb/modules/sway/vscode.nix
2025-04-25 20:35:33 +02:00

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.2-insider/linux-x64/insider";
sha256 = "sha256-tV0VxDLJJPD4jfNEgVh3wMXg899VJxCS5a3putdetkA=";
});
version = "1.98.0";
});
in {
environment.systemPackages = with pkgs; [
vscode-insiders
];
}