Dear Maintainer,
Forgive I am not the best at this.
If you install the meta package nvidia-driver from the repository. DKMS will not compile a module because the kernel headers are not installed if you let it go without the headers upon reboot
you just get a terminal and no graphical output at all.
How I came to it is when I took notice when DKMS didn't compile a module for me and figured out.. packages where missing from the meta-package. So i just looked at Debian 12's and compared
and noticed the kernel-headers weren't there. Take a bit a shot in the dark and purged again installed the headers then the nvidia-driver. It worked.
I apolgize this is prolly not the best written.