"EGL_EXT_platform_base not supported" after upgrade / moving to flakes

For some reason I haven’t found this topic when I researched my problem. However, its solution fixes the problem:

TL;DR:

hardware.opengl.enable = true