Move xrizer overlay into a separate file
This commit is contained in:
21
vr-overlay.nix
Normal file
21
vr-overlay.nix
Normal 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 = [];
|
||||
});
|
||||
})
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user