I created an install script based on the brilliant post: Nvidia Drivers on Rocky Linux
The script installs X11, official NVIDIA drivers from source, and KDE as the desktop environment. I’ve included step-by-step instructions in the README. Here’s the Github for anyone that is interested: GitHub - TheLinuxITGuy/Rocky-Scripts: Various scripts for Rocky Linux 9.4