fix: openxr runtime file
This commit is contained in:
parent
9d89b2ac9b
commit
7f97fdd050
|
@ -1,6 +1,5 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
# can't play VR until https://github.com/hyprwm/Hyprland/pull/8116 is merged
|
|
||||||
services.monado = {
|
services.monado = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultRuntime = true;
|
defaultRuntime = true;
|
||||||
|
@ -13,15 +12,7 @@
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
home.packages = [ pkgs.wlx-overlay-s ];
|
home.packages = [ pkgs.wlx-overlay-s ];
|
||||||
xdg.configFile."openxr/1/active_runtime.json".text = ''
|
xdg.configFile."openxr/1/active_runtime.json".source = "${pkgs.monado}/share/openxr/1/openxr_monado.json";
|
||||||
{
|
|
||||||
"file_format_version": "1.0.0",
|
|
||||||
"runtime": {
|
|
||||||
"name": "Monado",
|
|
||||||
"library_path": "${pkgs.monado}/lib/libopenxr_monado.so"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
|
|
||||||
xdg.configFile."openvr/openvrpaths.vrpath".text = ''
|
xdg.configFile."openvr/openvrpaths.vrpath".text = ''
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue