There is a general workaround to set NIXOS_OZONE_WL as described in Wayland#Electron_and_Chromium:
NIXOS_OZONE_WL