X11 server unable to locate "ati" or "vesa" drivers

Trying to install nixos on 2011 iMac (12.2). Only way to install or boot is with using nomodeset, without it the sceen goes blank. Once booted in tty mode, and trying to start with “startx”, the /var/log/Xorg.1.log tells that it cannot find “ati” (or “vesa” or "fbdev). The drivers seem to be in the /nix/store, but not in the folder that X is using as the ModulePath. I cannot copy the drivers to that path, since it is a read-only filesystem.

I have enabled services.xserver.enable = true; What am I missing? What should set the ModulePath? Where should the modules be located so that X could find them?