NixOS/system/modules/steam.nix

14 lines
341 B
Nix
Raw Normal View History

2024-06-12 09:54:11 +07:00
{ config, lib, ... }:
let
cfg = config.profile.steam;
in
{
config = lib.mkIf cfg.enable {
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
};
};
}