It looks like Debian 12 only provides 525, 390 and a legacy 340 driver, based on the wiki. As @people_are_cute@lemmy.sdf.org mentioned, Debian 11 has a 470 driver, but that would be a different set of repositories that would probably not work great for you on Debian 12.
The actual latest Nvidia driver is 550 as of a few days ago, so maybe you could try a manual install of either the latest or 470?
I'm not sure if anything like downgrade
or frogging-family\nvidia-all
exists for Debian, I ^sigh^ use Arch Linux^btw^.