Move Steam config from configuration.nix to a dedicated gaming.nix module and add gamescope for fullscreen/resolution management with Proton games. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
16 lines
386 B
Nix
16 lines
386 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
# Steam
|
|
programs.steam = {
|
|
enable = true;
|
|
dedicatedServer.openFirewall = true;
|
|
};
|
|
|
|
# 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
|
|
};
|
|
}
|