Files
nixfiles/vr-overlay.nix
pager 781f265851 patch monado to respect terminate signals
Although it doesn't terminate properly with this it seems to make
`systemctl --user restart monado` work
2025-12-08 15:27:51 -05:00

35 lines
1.0 KiB
Nix

# 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 = "ImSapphire";
repo = "xrizer";
rev = "0660170c3fcff27035a44052ab593c5e96208341";
hash = "sha256-D9jLaxWNce8XHfYePyOF2HEmJuDMKhuty+VO0CP8I38=";
};
cargoDeps = prev.rustPackages.rustPlatform.fetchCargoVendor {
inherit src;
hash = "sha256-tLPwiwKkEBdsRxXgdcTM9TLJeNRZV32W11qUbyCVdHw=";
};
patches = [];
});
monado = prev.monado.overrideAttrs (oldAttrs: rec {
src = final.fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "monado";
repo = "monado";
rev = "2ebbca83e896e0802185277ce0a0a463db7a7892";
hash = "sha256-JjlKHXd1SD9M8OpgFERZCvAhM0eMxjME96YU38DlKNw=";
};
patches = [
./0001-ipc-shutdown-ipc-server-on-SIGTERM.patch
];
});
})
];
}