2023-11-04 10:39:43 +01:00

15 lines
359 B
Nix

{ lib, config, pkgs, ... }:
let cfg = config.hostcfg.make.game;
in {
config = lib.mkIf cfg {
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
};
};
}