nix/home/programs/xr.nix
2024-02-28 00:46:58 +00:00

30 lines
649 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
}
'';
};
}