fix: openxr runtime file
This commit is contained in:
parent
9d89b2ac9b
commit
7f97fdd050
|
@ -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 = ''
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue