Added Steam in gaming

This commit is contained in:
2025-11-22 10:46:45 +02:00
parent 8c3f7e7c20
commit f5f16e176c
2 changed files with 20 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
../../modules/de/gnome.nix ../../modules/de/gnome.nix
../../modules/common/pipewire.nix ../../modules/common/pipewire.nix
../../modules/userapps/kondo_timer.nix ../../modules/userapps/kondo_timer.nix
../../modules/userapps/gaming.nix
../../modules/common/nix.nix ../../modules/common/nix.nix
../../modules/common/networking.nix ../../modules/common/networking.nix
../../modules/common/shell.nix ../../modules/common/shell.nix

View File

@@ -0,0 +1,19 @@
{
config,
pkgs,
...
}: {
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
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
};
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"steam-unwrapped"
"steam-run"
];
}