{pkgs, lib, config, ...}: { options = { gaming.emulators.enable = lib.mkEnableOption "Enable console emulators"; }; config = mkIf config.gaming.emulators.enable; { home.packages = with pkgs; [ dolphin-emu cemu ryujinx duckstation pcsx2 unstable.lime3ds ]; }; }