1
0
Fork 0
forked from foxora/nix

vr works again!!!

This commit is contained in:
foxora 2026-03-29 22:29:47 +01:00
parent 9d481bcdcf
commit 4b8552fdb1

View file

@ -308,7 +308,18 @@
alvr = {
enable = true;
package = upkgs.alvr;
package = (upkgs.alvr.override {ffmpeg = upkgs.ffmpeg_7;}).overrideAttrs (old: rec {
postPatch =
(old.postPatch or "")
+ ''
substituteInPlace alvr/server_openvr/src/lib.rs \
--replace-fail \
"let early_hmd_initialization = !dashboard_process_paths.is_empty();" \
"let early_hmd_initialization = true;"
'';
});
openFirewall = true;
};