vr fix
This commit is contained in:
6
etcnixos/flake.lock
generated
6
etcnixos/flake.lock
generated
@@ -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": {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user