mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-10-02 06:54:49 +02:00
added steam
This commit is contained in:
parent
9d41a6fa81
commit
05c49ae1d6
2 changed files with 19 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./discord.nix
|
./discord.nix
|
||||||
|
./steam.nix
|
||||||
|
./software.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
17
hosts/buldak/features/steam.nix
Normal file
17
hosts/buldak/features/steam.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{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"
|
||||||
|
];
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue