1
Fork 0
satellite/hosts/nixos/common/optional/steam.nix

15 lines
426 B
Nix
Raw Normal View History

# TODO(imperanence): handle persistence
{ lib, ... }: {
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
};
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"steam-runtime"
];
}