add vr
This commit is contained in:
parent
32fc45bbf7
commit
618b45e0f1
2 changed files with 41 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
||||||
./sound.nix
|
./sound.nix
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
./virtualisation.nix
|
./virtualisation.nix
|
||||||
|
./vr.nix
|
||||||
./xserver.nix
|
./xserver.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
40
modules/nixos/vr.nix
Normal file
40
modules/nixos/vr.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
# Beat Saber является OpenXR игрой, что не поддерживается Alvr из коробки
|
||||||
|
# Возможно на X11 это можно исправить простой настройкой в SteamVR
|
||||||
|
# Но на Wayland мне приходилось качать разом весь этот софт на Arch
|
||||||
|
# Поэтому сразу поставил всё что надо и не пробовал найти необходимый минимум
|
||||||
|
# Мб пригодится поставить opencomposite для трансляции OpenVR в OpenXR
|
||||||
|
|
||||||
|
{ pkgs, ... }: {
|
||||||
|
|
||||||
|
services = {
|
||||||
|
|
||||||
|
# Open source XR runtime
|
||||||
|
monado = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
# An OpenXR streaming application to a standalone headset
|
||||||
|
# wivrn = {
|
||||||
|
# enable = true;
|
||||||
|
# openFirewall = true;
|
||||||
|
# };
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
|
||||||
|
# Stream VR games from your PC to your headset via Wi-Fi
|
||||||
|
alvr = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
# UI for Monado, the open source OpenXR runtime
|
||||||
|
# envision = {
|
||||||
|
# enable = true;
|
||||||
|
# openFirewall = true;
|
||||||
|
# };
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue