Added steam

This commit is contained in:
2024-03-17 10:00:27 +01:00
parent 6305cf7903
commit 7e82f983e7
3 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
{ config, lib, nixpkgs, ... }:
{
nixpkgs.config.allowUnfree = true;
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"steam-run"
];
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
}