I don’t think NixOS is built with this in mind. There is a boot.initrd.enable option that you can set to false, but I suspect other things like the boot loader script will explode. You will probably need to make changes to nixpkgs and submit them in PRs (which, as the primary initrd maintainer, I think would be reasonable to accept).