mirror of
https://gitlab.com/lvra/lvra.gitlab.io.git
synced 2025-04-28 10:18:29 +02:00
fossvr/wivrn: Add env vars for NixOS lighthouse setup
This commit is contained in:
parent
5cc1ba51e3
commit
6132a72444
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!
|
Perform a **Clean Build** after changing the CMake flags!
|
||||||
|
|
||||||
### NixOS
|
### NixOS
|
||||||
Override the `wivrn` package:
|
Override the `wivrn` package and launch wivrn-server with the required environment variables:
|
||||||
```nix
|
```nix
|
||||||
{
|
{
|
||||||
services.wivrn = {
|
services.wivrn = {
|
||||||
|
@ -134,6 +134,10 @@ Override the `wivrn` package:
|
||||||
(lib.cmakeBool "WIVRN_FEATURE_STEAMVR_LIGHTHOUSE" true)
|
(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