mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-02-23 23:03:57 +01:00
17 lines
446 B
Nix
17 lines
446 B
Nix
|
{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"
|
||
|
];
|
||
|
}
|