How can I configure the default apps for GNOME?

GNOME Control Center writes to your user’s associations (~/.config/mimeapps.list by default).

The XDG specification currently does not support wildcards.

The filters property lists wildcards for secondary MIME types. g-c-c will look at what MIME types the desktop file of selected application supports that match any of the wildcards and also sets the application as default handler for those: