From 01914cbc1feb26fe52077be7b282946fd3bdff0e Mon Sep 17 00:00:00 2001 From: k3t Date: Sat, 11 Jul 2026 04:29:45 -0600 Subject: [PATCH] steam proton additions + tbb vr fixes --- hosts/TheBlackBox/configuration.nix | 12 ++++++++++++ modules/gui/apps/steam.nix | 15 ++++++++++++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/hosts/TheBlackBox/configuration.nix b/hosts/TheBlackBox/configuration.nix index 5810019..1d1994b 100644 --- a/hosts/TheBlackBox/configuration.nix +++ b/hosts/TheBlackBox/configuration.nix @@ -32,6 +32,18 @@ in # Run WiVRn as a systemd service on startup autoStart = true; + steam = { + enable = true; + importOXRRuntimes = true; + package = pkgs.steam.override { + extraProfile = '' + # Allows Monado/WiVRn to be used + export PRESSURE_VESSEL_IMPORT_OPENXR_1_RUNTIMES=1 + # Fixes timezones on VRChat + unset TZ + ''; + }; + }; }; programs.alvr = { diff --git a/modules/gui/apps/steam.nix b/modules/gui/apps/steam.nix index 256e655..590ac20 100644 --- a/modules/gui/apps/steam.nix +++ b/modules/gui/apps/steam.nix @@ -1,17 +1,30 @@ { pkgs, ... }: { + hardware.steam-hardware.enable = true; programs.steam = { enable = true; gamescopeSession.enable = true; + extest.enable = true; extraCompatPackages = with pkgs; [ proton-ge-bin + dwproton-bin + steam-play-none ]; + dedicatedServer.openFirewall = true; localNetworkGameTransfers.openFirewall = true; + package = pkgs.steam.override { + extraProfile = '' + # Allows Monado/WiVRn to be used + export PRESSURE_VESSEL_IMPORT_OPENXR_1_RUNTIMES=1 + # Fixes timezones on VRChat + unset TZ + ''; + }; }; programs.gamemode.enable = true; programs.gamescope = { enable = true; capSysNice = true; }; -} \ No newline at end of file +}