diff --git a/home/programs/xr.nix b/home/programs/xr.nix new file mode 100644 index 0000000..117ac8c --- /dev/null +++ b/home/programs/xr.nix @@ -0,0 +1,30 @@ +{pkgs, config, ...}: { + home.packages = with pkgs; [ + monado + ]; + home.file.".config/openxr/1/openxr_monado.json" = { + source = "${pkgs.monado}/share/openxr/1/openxr_monado.json"; + }; + home.file.".config/openvr/openvrpaths.vrpath" = { + text = '' + { + "config" : + [ + "${config.home.homeDirectory}/.local/share/Steam/config" + ], + "external_drivers" : null, + "jsonid" : "vrpathreg", + "log" : + [ + "${config.home.homeDirectory}/.local/share/Steam/logs" + ], + "runtime" : + [ + "${pkgs.opencomposite}/lib/opencomposite" + ], + "version" : 1 + } + ''; + }; + +}