fix: tweaked vr options
This commit is contained in:
parent
42da20a0ae
commit
31b343fa24
1 changed files with 17 additions and 17 deletions
|
|
@ -122,19 +122,19 @@
|
||||||
# TODO: nixify this?
|
# TODO: nixify this?
|
||||||
# `$ systemctl --user start monado.service`
|
# `$ systemctl --user start monado.service`
|
||||||
# `$ jounralctl --user --follow --unit monado.service`
|
# `$ jounralctl --user --follow --unit monado.service`
|
||||||
services.monado = {
|
#services.monado = {
|
||||||
enable = true;
|
#enable = true;
|
||||||
# use as default openxr runtime
|
# use as default openxr runtime
|
||||||
defaultRuntime = true;
|
#defaultRuntime = true;
|
||||||
# sets as high priority service in kernel
|
# sets as high priority service in kernel
|
||||||
# may fix some performance issues
|
# may fix some performance issues
|
||||||
#highPriority = true;
|
#highPriority = true;
|
||||||
};
|
#};
|
||||||
|
|
||||||
# environment variables for monado runtime
|
# environment variables for monado runtime
|
||||||
systemd.user.services.mondado.environment = {
|
#systemd.user.services.mondado.environment = {
|
||||||
STEAMVR_LH_ENABLE = "1";
|
#STEAMVR_LH_ENABLE = "1";
|
||||||
XRT_COMPOSITOR_COMPUTE = "1";
|
#XRT_COMPOSITOR_COMPUTE = "1";
|
||||||
# disables hand tracking, re-enable after downloading models
|
# disables hand tracking, re-enable after downloading models
|
||||||
#WMR_HANDTRACKING = "0";
|
#WMR_HANDTRACKING = "0";
|
||||||
};
|
};
|
||||||
|
|
@ -176,19 +176,19 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# wayvr virtual desktop
|
# wayvr virtual desktop
|
||||||
systemd.user.services.wayvr = {
|
#systemd.user.services.wayvr = {
|
||||||
description = "WayVR desktop overlay for OpenXR/OpenVR";
|
#description = "WayVR desktop overlay for OpenXR/OpenVR";
|
||||||
# assigns it as a graphical service
|
# assigns it as a graphical service
|
||||||
partOf = [ "graphical-session.target" ];
|
#partOf = [ "graphical-session.target" ];
|
||||||
after = [ "graphical-session.target" ];
|
#after = [ "graphical-session.target" ];
|
||||||
wantedBy = [ "graphical-session.target" ];
|
#wantedBy = [ "graphical-session.target" ];
|
||||||
serviceConfig = {
|
#serviceConfig = {
|
||||||
# points to executable to use for wayvr
|
# points to executable to use for wayvr
|
||||||
ExecStart = "${pkgs.wayvr}/bin/wayvr --replace";
|
#ExecStart = "${pkgs.wayvr}/bin/wayvr --replace";
|
||||||
# restarts wayvr if it crashes
|
# restarts wayvr if it crashes
|
||||||
Restart = "on-failure";
|
#Restart = "on-failure";
|
||||||
};
|
#};
|
||||||
};
|
#};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue