{ lib, pkgs, ... }: { environment.systemPackages = with pkgs; [ prismlauncher ]; nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "steam" "steam-original" "steam-run" ]; hardware = { opengl.driSupport32Bit = true; steam-hardware.enable = true; }; programs = { xwayland.enable = true; gamescope = { enable = true; capSysNice = true; }; steam = { enable = true; remotePlay.openFirewall = true; gamescopeSession.enable = true; }; }; }