fix: openxr runtime file

This commit is contained in:
Patrick 2024-11-15 16:11:12 +01:00
parent 9d89b2ac9b
commit 7f97fdd050
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F

View file

@ -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 = ''
{