Linux Hint published a tutorial showing you how to install NVIDIA drivers on CentOS Stream 9.
Install NVIDIA Drivers on CentOS Stream 9
For NVIDIA GPU drivers to work on CentOS Stream 9, you must disable secure boot from the BIOS of your motherboard if it uses the UEFI firmware for booting OS.
Install NVIDIA Drivers on CentOS Stream 9