diff options
Diffstat (limited to 'hosts/herra')
| -rw-r--r-- | hosts/herra/steam.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/hosts/herra/steam.nix b/hosts/herra/steam.nix new file mode 100644 index 0000000..a916af3 --- /dev/null +++ b/hosts/herra/steam.nix @@ -0,0 +1,21 @@ +{lib, ...}: { + 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) [ + # Allow some unfree dependencies + "steam" + "steam-original" + "steam-unwrapped" + "steam-run" + ]; + + # Allow steam to execute appimage games + programs.appimage.enable = true; + programs.appimage.binfmt = true; +} |
