This commit is contained in:
2025-03-17 15:34:54 -04:00
parent 8b40db5f6e
commit 6437bd375a
4 changed files with 18 additions and 32 deletions

View File

@@ -5,11 +5,18 @@
...
}:
{
services.wivrn = {
enable = true;
openFirewall = true;
package = pkgs.wivrn;
package = (
pkgs.wivrn.overrideAttrs (old: {
cmakeFlags = old.cmakeFlags ++ [
(lib.cmakeFeature "OPENCOMPOSITE_SEARCH_PATH" "${pkgs.opencomposite}/lib/opencomposite")
];
})
);
# Write information to /etc/xdg/openxr/1/active_runtime.json, VR applications
# will automatically read this and work with wivrn