game related config

This commit is contained in:
Harry 2025-02-12 10:11:34 +01:00
parent d03c0990e8
commit 4f094148f4
2 changed files with 18 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{config, pkgs}: {config, pkgs, ...}:
{ {

View file

@ -0,0 +1,17 @@
{config, pkgs, ...}:
{
programs.gamemode.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
};
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam"
"steam-unwrapped"
"steam-original"
"steam-run"
];
}