mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-02-23 14:53:56 +01:00
17 lines
451 B
Nix
17 lines
451 B
Nix
{config, pkgs, lib, ...}:
|
|
{
|
|
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"
|
|
];
|
|
} |