nix/home/programs/xr.nix
2024-03-05 20:29:08 +00:00

33 lines
690 B
Nix

{
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
}
'';
};
}