diff --git a/config/support/vr.nix b/config/support/vr.nix index df6a5c1..09d6e94 100644 --- a/config/support/vr.nix +++ b/config/support/vr.nix @@ -1,6 +1,5 @@ { pkgs, ... }: { - # can't play VR until https://github.com/hyprwm/Hyprland/pull/8116 is merged services.monado = { enable = true; defaultRuntime = true; @@ -13,15 +12,7 @@ { config, ... }: { home.packages = [ pkgs.wlx-overlay-s ]; - xdg.configFile."openxr/1/active_runtime.json".text = '' - { - "file_format_version": "1.0.0", - "runtime": { - "name": "Monado", - "library_path": "${pkgs.monado}/lib/libopenxr_monado.so" - } - } - ''; + xdg.configFile."openxr/1/active_runtime.json".source = "${pkgs.monado}/share/openxr/1/openxr_monado.json"; xdg.configFile."openvr/openvrpaths.vrpath".text = '' {