aarpc, amdgpu steamvr fix, deadbeef, 😭

This commit is contained in:
k3t
2026-07-10 23:44:41 -06:00
parent 7c0ab9e7a4
commit 6514158245
8 changed files with 147 additions and 13 deletions
+37
View File
@@ -4,6 +4,13 @@
{ config, pkgs, ... }:
let
amdgpu-kernel-module = pkgs.callPackage ./amdgpu-kernel-module.nix {
# Make sure the module targets the same kernel as your system is using.
kernel = config.boot.kernelPackages.kernel;
};
in
{
imports =
[ # Include the results of the hardware scan.
@@ -12,6 +19,36 @@
networking.hostName = "TheBlackBox";
# Linux and VR... nightmare below
boot.extraModulePackages = [
(amdgpu-kernel-module.overrideAttrs (_: {
patches = [ ./amdgpu-cap_sys_nice_begone.patch ];
}))
];
services.wivrn = {
enable = true;
openFirewall = true;
# Run WiVRn as a systemd service on startup
autoStart = true;
};
programs.alvr = {
enable = true;
openFirewall = true;
};
services.monado = {
enable = true;
defaultRuntime = true; # Register as default OpenXR runtime
};
systemd.user.services.monado.environment = {
STEAMVR_LH_ENABLE = "1";
XRT_COMPOSITOR_COMPUTE = "1";
};
users.users.k3t = {
packages = with pkgs; [
virt-viewer