zypper install openSUSE-repos-NVIDIA
zypper addrepo --refresh 'https://download.nvidia.com/opensuse/leap/$releasever' NVIDIA
zypper in nvidia-video-G06
zypper in nvidia-gl-G06
But I learned that nvidia-video-G06, nvidia-gl-G06 are already install and hence nothing changed. I did not install any NVIDIA driver, but how it got installed I have no idea. Then I found the following in the YaST software repository,
Uninstalled the NVIDIA driver following SDB:NVIDIA drivers - openSUSE Wiki and reinstalled using SDB:NVIDIA drivers - openSUSE Wiki but still driver being shown as N/A as the output of inxi -G. Then I noticed nouveau is still being loaded (if I am not wrong). It seems really difficult to install and make NVIDIA work on openSUSE.
$ sudo lsinitrd | grep nouveau
drwxr-xr-x 1 root root 0 Nov 13 19:51 lib/modules/5.14.21-150500.55.44-default/kernel/drivers/gpu/drm/nouveau
-rw-r--r-- 1 root root 1070421 Nov 13 19:51 lib/modules/5.14.21-150500.55.44-default/kernel/drivers/gpu/drm/nouveau/nouveau.ko.zst
I also tried by creating the /etc/modprobe.d/blacklist-nouveau.conf file and add the following information to the file.