docs(debian): use deb822 sources for non-free, not apt-add-repository

software-properties-common is not available in Debian 13, so the
apt-add-repository line could not have worked. Debian 13 keeps its
sources in deb822 format; edit Components there instead (verified in a
trixie container — the NVIDIA driver it then offers is 550, above our
535 floor).
This commit is contained in:
2026-08-13 11:47:20 +02:00
parent 346385bad8
commit 030bc8a1c2
+7 -4
View File
@@ -33,16 +33,19 @@ virtual display and injects input is desktop-specific, so pick your desktop on t
## 1. GPU driver
On **NVIDIA**, the driver lives in Debian's `non-free-firmware` / `non-free` components, which a
default install does not enable. Add them, then install the driver:
On **NVIDIA**, the driver lives in Debian's `contrib` / `non-free` / `non-free-firmware`
components, which a default install does not enable. Debian 13 keeps its sources in the deb822
format, so add them there and refresh:
```sh
sudo apt install software-properties-common
sudo apt-add-repository contrib non-free non-free-firmware
sudo sed -i 's/^Components: .*/Components: main contrib non-free non-free-firmware/' \
/etc/apt/sources.list.d/debian.sources
sudo apt update
sudo apt install nvidia-driver firmware-misc-nonfree
```
Debian 13 ships driver 550, comfortably above the [535 floor](/docs/requirements).
Reboot, then confirm the driver and KMS modeset — Wayland on NVIDIA needs `modeset=1`:
```sh