Add Wivrn as a service (like Steam)
This commit is contained in:
@@ -100,12 +100,32 @@
|
|||||||
];
|
];
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
# Enable Steam
|
# Steam and VR
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||||||
};
|
};
|
||||||
|
services.wivrn = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
# Write information to /etc/xdg/openxr/1/active_runtime.json, VR applications
|
||||||
|
# will automatically read this and work with WiVRn (Note: This does not currently
|
||||||
|
# apply for games run in Valve's Proton)
|
||||||
|
defaultRuntime = true;
|
||||||
|
autoStart = true;
|
||||||
|
};
|
||||||
|
# Kernel patch for SteamVR performance issues on AMD GPUs
|
||||||
|
# boot.kernelPatches = [
|
||||||
|
# {
|
||||||
|
# name = "amdgpu-ignore-ctx-privileges";
|
||||||
|
# patch = pkgs.fetchpatch {
|
||||||
|
# name = "cap_sys_nice_begone.patch";
|
||||||
|
# url = "https://github.com/Frogging-Family/community-patches/raw/master/linux61-tkg/cap_sys_nice_begone.mypatch";
|
||||||
|
# hash = "sha256-Y3a0+x2xvHsfLax/uwycdJf3xLxvVfkfDVqjkxNaYEo=";
|
||||||
|
# };
|
||||||
|
# }
|
||||||
|
# ];
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
# started in user sessions.
|
# started in user sessions.
|
||||||
|
|||||||
@@ -22,7 +22,6 @@
|
|||||||
# VR / Games
|
# VR / Games
|
||||||
bs-manager
|
bs-manager
|
||||||
slimevr
|
slimevr
|
||||||
wivrn
|
|
||||||
prismlauncher
|
prismlauncher
|
||||||
|
|
||||||
# Gnome Extensions
|
# Gnome Extensions
|
||||||
|
|||||||
Reference in New Issue
Block a user