elrepo don’t build for Rocky 9, so rpmfusion is the one you should be using: Which repo to use for nvidia and cuda drivers - #2 by jlehtone
I believe rpmfusion is the better choice for Nvidia drivers, be it Fedora or Rocky.
This post, also suggests rpmfusion as the choice for Nvidia drivers: Hardware Drivers and Where to Go