How do you setup an enviroment variable in Gnome using Wayland?

I am using Gnome on Wayland and I want to setup a global variable so Firefox always launches with Wayland enabled. I have been able to modify the .desktop file to add Exec=env MOZ_ENABLE_WAYLAND=1 firefox so when I launch firefox manually it loads in Wayland mode.

The issue is when I click a link that opens Firefox for me it launches in xWayland mode. Where do I change environment variables within Gnome Wayland using GDM? From my searches the results show to use ~/.config/environment.d/x.conf but I did not have the enviroment.d folder. I manually created it and a Firefox.conf inside but after rebooting it doesn’t seem to be working.

On my end:

$ echo $XDG_SESSION_TYPE
wayland
$ cat .config/environment.d/envvars.conf 
MOZ_ENABLE_WAYLAND=1

No matter how I launch Firefox, from the launcher or a link, I have in about:support >> Graphics

GNOME-Wayland-Firefox