{ config, lib, pkgs, ... }: let polymc = pkgs.callPackage ../../pkgs/polymc/default.nix { }; in { options.my.apps.gaming.enable = lib.mkEnableOption "enable"; config = lib.mkIf config.my.apps.gaming.enable { programs = { gamemode.enable = true; steam = { enable = true; gamescopeSession.enable = true; remotePlay.openFirewall = true; dedicatedServer.openFirewall = true; }; }; users.users.jawz.packages = with pkgs; [ mangohud # fps & stats overlay lutris # games launcher & emulator hub cartridges # games launcher gamemode # optimizes linux to have better gaming performance heroic # install epic games protonup-qt # update proton-ge #minecraft # minecraft official launcher polymc # minecraft launcher with mod support ns-usbloader # load games into my switch # grapejuice # roblox manager # emulators rpcs3 # ps3 emulator pcsx2 # ps2 emulator cemu # wii u emulator dolphin-emu # wii emulator #citra-nightly # 3Ds emulator snes9x-gtk # snes emulator ryujinx # switch emulator ]; }; }