blumeops/nixos/ringtail/gaming.nix

22 lines
722 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
# Steam
programs.steam = {
enable = true;
dedicatedServer.openFirewall = true;
extraCompatPackages = [ pkgs.proton-ge-bin ];
};
2026-04-21 14:47:13 -07:00
# Proton Experimental ships an accessibility bridge (xalia) that hangs during
# game launch when AT-SPI is not running on the host. This host has no AT-SPI,
# so disable xalia globally to avoid wedging iscriptevaluator.exe.
environment.sessionVariables.PROTON_USE_XALIA = "0";
# Gamescope — micro-compositor for game fullscreen/resolution management.
# Use as Steam launch option: gamescope -W 2560 -H 1440 -f -- %command%
programs.gamescope = {
enable = true;
capSysNice = true; # Allow gamescope to set realtime scheduling
};
}