nix/modules/system/programs/steam.nix
2024-03-17 10:00:27 +01:00

17 lines
329 B
Nix

{ 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;
};
}