mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 10:29:18 -05:00
18 lines
402 B
Nix
18 lines
402 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.alyraffauf.apps.steam.enable {
|
|
hardware.steam-hardware.enable = true;
|
|
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
|
|
};
|
|
};
|
|
}
|