mirror of
https://gitlab.com/lvra/lvra.gitlab.io.git
synced 2025-04-28 10:18:29 +02:00
Merge branch 'wivrn-nixos-lh-env' into 'main'
fossvr/wivrn: Add env vars for NixOS lighthouse setup See merge request lvra/lvra.gitlab.io!85
This commit is contained in:
commit
3c9cdc34a9
1 changed files with 5 additions and 1 deletions
|
@ -123,7 +123,7 @@ Set WiVRn Profile as such:
|
|||
Perform a **Clean Build** after changing the CMake flags!
|
||||
|
||||
### NixOS
|
||||
Override the `wivrn` package:
|
||||
Override the `wivrn` package and launch wivrn-server with the required environment variables:
|
||||
```nix
|
||||
{
|
||||
services.wivrn = {
|
||||
|
@ -134,6 +134,10 @@ Override the `wivrn` package:
|
|||
(lib.cmakeBool "WIVRN_FEATURE_STEAMVR_LIGHTHOUSE" true)
|
||||
];
|
||||
});
|
||||
monadoEnvironment = {
|
||||
WIVRN_USE_STEAMVR_LH = "1";
|
||||
LH_DISCOVER_WAIT_MS = "6000";
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue