zenix: update and tidy
This commit is contained in:
parent
43c05553ff
commit
1a86b02fe4
6 changed files with 117 additions and 123 deletions
|
|
@ -1,30 +1,34 @@
|
|||
{
|
||||
pkgs,
|
||||
# config,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
openxr-loader
|
||||
opencomposite
|
||||
];
|
||||
services.monado.enable = true;
|
||||
systemd.user.services.monado.environment = {
|
||||
STEAMVR_LH_ENABLE = "true";
|
||||
XRT_COMPOSITOR_SCALE_PERCENTAGE = "200";
|
||||
};
|
||||
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
|
||||
# }
|
||||
# '';
|
||||
# };
|
||||
home.file.".config/openvr/openvrpaths.vrpath" = {
|
||||
text = builtins.toJSON {
|
||||
"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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue