nix/modules/nixos/steam.nix

24 lines
551 B
Nix
Raw Normal View History

2024-03-29 10:51:39 -05:00
{pkgs, ...}: {
programs.steam.enable = true;
programs.steam.gamescopeSession.enable = true;
# programs.steam.package = inputs.nixpkgs-stable.legacyPackages.${pkgs.system}.steam;
programs.steam.remotePlay.openFirewall = true;
services.udev.packages = with pkgs; [steam];
2024-06-13 18:46:46 -05:00
# remote play ports
networking.firewall.allowedUDPPortRanges = [
{
from = 27031;
to = 27036;
}
];
networking.firewall.allowedTCPPortRanges = [
{
from = 27036;
to = 27037;
}
];
# UDP 27031, 27036
# TCP 27036, 27037
2024-03-29 10:18:49 -05:00
}