nix/modules/system/gaming.nix
2025-08-23 16:22:23 -04:00

16 lines
450 B
Nix
Executable File

{ pkgs, ... }:
{
# Install Steam
programs.steam = {
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
};
environment.systemPackages = with pkgs; [
gamemode
];
}