Move xrizer overlay into a separate file

This commit is contained in:
2025-11-03 21:57:13 -05:00
parent c3fe86d6b4
commit cc28fe9df6
2 changed files with 22 additions and 28 deletions

21
vr-overlay.nix Normal file
View File

@ -0,0 +1,21 @@
# Overlay to get vr working on my bsb2
{config, pkgs, lib, ... }:
{
nixpkgs.overlays = [
(final: prev: {
xrizer = prev.xrizer.overrideAttrs (oldAttrs: rec {
src = final.fetchFromGitHub {
owner = "Mr-Zero88";
repo = "xrizer";
rev = "63f6c00";
hash = "sha256-ilPNar7sfdQ5aSeypy5BStEGeVAoXtHw/iWLhqKEsPQ=";
};
cargoDeps = prev.rustPackages.rustPlatform.fetchCargoVendor {
inherit src;
hash = "sha256-Ra0Mxx02E8GIkLLGfnMVQdDAxhdwjmhK3T7XrFpBDus=";
};
patches = [];
});
})
];
}