{ config, lib, pkgs, ... }:
{
  home.packages = with pkgs; lib.mkIf config.home.gaming.enable [
    heroic
    prismlauncher
    steam
    steam-run
  ];

  nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
    "steam"
    "steam-unwrapped"
  ];
}