`NIXOS_OZONE_WL=1` seemingly not having any affect?

I use the Vesktop discord client. On KDE Plasma, setting environment.sessionVariables.NIXOS_OZONE_WL = "1"; was enough to get Vesktop to use Wayland properly. However, upon switching to Hyprland, I find that Vesktop is back to flickering. This is in spite of both NIXOS_OZONE_WL=1 and ELECTRON_OZONE_PLATFORM_HINT=auto being set which, according to online sources, should be enough to prevent the flickering.
What could be going on here?