added steam

This commit is contained in:
chloe 2025-09-27 04:23:22 +02:00
parent 9d41a6fa81
commit 05c49ae1d6
2 changed files with 19 additions and 0 deletions

View file

@ -1,5 +1,7 @@
{ {
imports = [ imports = [
./discord.nix ./discord.nix
./steam.nix
./software.nix
]; ];
} }

View 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"
];
}