Skip to content

Instantly share code, notes, and snippets.

@dapize
Created February 16, 2026 07:45
Show Gist options
  • Select an option

  • Save dapize/c032f7e1098419bb18df1b8f9e5dd909 to your computer and use it in GitHub Desktop.

Select an option

Save dapize/c032f7e1098419bb18df1b8f9e5dd909 to your computer and use it in GitHub Desktop.
Instalar nvidia driver en Debian 13 con Secure Boot activado
# desactivar 'nouveau' para que no moleste
sudo bash -c "echo 'blacklist nouveau' > /etc/modprobe.d/blacklist-nouveau.conf"
sudo bash -c "echo 'blacklist nouveau' > /etc/modprobe.d/blacklist-nouveau.conf"
sudo bash -c "echo 'options nouveau modeset=0' >> /etc/modprobe.d/blacklist-nouveau.conf"
sudo update-initramfs -u
sudo reboot
# >>>>> activar 'contrib y non-free en sources.list' <<<<< #
# Luego
sudo apt -y install build-essential dkms linux-headers-$(uname -r) mokutil openssl pciutils
sudo apt -y install nvidia-driver
sudo mokutil --import /var/lib/dkms/mok.pub
# ingresar clave y recordarla.
sudo reboot
# Pon contraseña → reinicia → MOK Manager → Enroll key → poner contraseña → reboot.
# verificar
nvidia-smi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment