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

6
etcnixos/flake.lock generated
View File

@@ -34,11 +34,11 @@
]
},
"locked": {
"lastModified": 1742213066,
"narHash": "sha256-zQHn+4moKz4XTf1qvGEi9eVABikPdnwFfOotqk9QMwE=",
"lastModified": 1742229917,
"narHash": "sha256-ldvWOI1F90HBTvJBkF/09d8GLgWnIPlKpkNYotmu2wY=",
"owner": "chaotic-cx",
"repo": "nyx",
"rev": "be765082e305296cc99dc2f2ed031b1d10133233",
"rev": "5104a4c520e33bf59468875ab58d9ad37431a5bb",
"type": "github"
},
"original": {

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