mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-02-22 22:33:56 +01:00
game related config
This commit is contained in:
parent
d03c0990e8
commit
4f094148f4
|
@ -1,4 +1,4 @@
|
||||||
{config, pkgs}:
|
{config, pkgs, ...}:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
17
hosts/goober/features/software/steam.nix
Normal file
17
hosts/goober/features/software/steam.nix
Normal 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"
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue