{
  pkgs,
  lib,
  config,
  ...
}:
with lib; let
  cfg = config.local.apps.gaming;
in {
  options.local.apps.gaming = {
    enable = mkEnableOption "gaming apps";
  };
  config = mkIf cfg.enable {
    home.packages = [
      # Steam. todo: move to the steam module later
      (pkgs.callPackage ./package.nix {})
      pkgs.protonup
      pkgs.winetricks
      pkgs.protontricks
    ];

    home.packages = with pkgs; [
      lutris
      openrct2
      prismlauncher
    ];
  };
}