Nvidia Drivers on Debian Sid
Packages you need
To detect the right type of driver to install
apt repositories have a package
nvidia-detect which I recommend running first. In my case running a
GTX 2060 I had to install the generic
Before you install the driver package!
Grab the apt package
nvidia-xconfig. If you’re like me and never bothered to
/etc/X11/xorg.conf this will write out a config for you that should,
Commands are listed in order, just be sure to run with correct permissions.
apt install nvidia-detect
package=$(nvidia-detect | grep '^ *nvidia')
apt install "$package"
Note: Pretty much all of the above commands, except for line 2 require elevated permissions.