Electron apps don't open on Nvidia desktops

That error might be due to the need to configure hardware acceleration for NVIDIA:

hardware.opengl.enable = true;
hardware.opengl.extraPackages = [ pkgs.libvdpau-va-gl ]; #NVIDIA doesn't support libvdpau, so this package will redirect VDPAU calls to LIBVA.

environment.variables.VDPAU_DRIVER = "va_gl";
environment.variables.LIBVA_DRIVER_NAME = "nvidia";

Also check /run/opengl-driver/lib/dri/ to ensure the files it tried to load exist.

1 Like