moved steam to nixosModules

This commit is contained in:
John Lancaster
2025-07-04 10:50:27 -05:00
parent dba3d0b44f
commit 7fef2c9db2
3 changed files with 2 additions and 1 deletions

10
nixosModules/steam.nix Normal file
View File

@@ -0,0 +1,10 @@
{ config, pkgs, lib, ... }:
{
programs.steam = lib.mkIf config.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
};
}