nixos-config/programs/desktop/steam/default.nix

13 lines
556 B
Nix
Raw Normal View History

2024-11-09 14:02:26 +00:00
{ lib, config, ... }:
{
2024-11-08 13:26:54 +00:00
programs.steam = lib.mkIf config.isGraphical {
enable = !config.isInstaller;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
};
nixpkgs.config.allowUnfree = true;
2024-11-09 14:02:26 +00:00
home-manager.users.darkkirb.imports = if config.isGraphical then [ ./home-manager.nix ] else [ ];
2024-11-08 13:26:54 +00:00
}