many changes
This commit is contained in:
16
hosts/nb/modules/sway/vscode.nix
Normal file
16
hosts/nb/modules/sway/vscode.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ 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
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user