Added Steam.

This commit is contained in:
jay
2025-06-29 07:21:23 -04:00
parent 4684be0d80
commit 54d27c0cf9
2 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
{ pkgs, ... }: {
# Install steam.
programs = {
gamemode.enable = true;
gamescope.enable = true;
steam = {
enable = true;
gamescopeSession.enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
package = pkgs.steam.override { # Fix Overwatch and other games showing wrong timezone in-game.
extraProfile = ''
unset TZ
'';
};
protontricks = {
enable = true;
};
};
};
environment.systemPackages = [
pkgs.mangohud
];
}