diff --git a/templates/sources.list.j2 b/templates/sources.list.j2 index 9b4d18c..ae1991d 100644 --- a/templates/sources.list.j2 +++ b/templates/sources.list.j2 @@ -1,11 +1,19 @@ {% if debian_repo == "sid" %} deb https://mirror.yandex.ru/debian sid main{% if debian_repo_nonfree is true %} contrib non-free{% endif %} +{% elif debian_repo == "bookworm" %} +deb http://deb.debian.org/debian/ bookworm main non-free-firmware + +deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware + +deb http://security.debian.org/debian-security bookworm-security main non-free-firmware + + {% else %} -deb https://mirror.yandex.ru/debian {{ debian_repo }} main{% if debian_repo_nonfree is true %} contrib non-free{% endif %} +deb https://mirror.yandex.ru/debian {{ debian_repo }} main{% if debian_repo == "bookworm" %} non-free-firmware{% endif %}{% if debian_repo_nonfree is true %} contrib non-free{% endif %} -deb https://mirror.yandex.ru/debian {{ debian_repo }}-updates main{% if debian_repo_nonfree is true %} contrib non-free{% endif %} +deb https://mirror.yandex.ru/debian {{ debian_repo }}-updates main{% if debian_repo == "bookworm" %} non-free-firmware{% endif %}{% if debian_repo_nonfree is true %} contrib non-free{% endif %} -deb http://security.debian.org/debian-security/ {{ debian_repo }}-security main{% if debian_repo_nonfree is true %} contrib non-free{% endif %} +deb http://security.debian.org/debian-security/ {{ debian_repo }}-security main{% if debian_repo == "bookworm" %} non-free-firmware{% endif %}{% if debian_repo_nonfree is true %} contrib non-free{% endif %} {% endif %}