diff --git a/DebianTweaks.sh b/DebianTweaks.sh index c072be1..9b7a92d 100755 --- a/DebianTweaks.sh +++ b/DebianTweaks.sh @@ -45,3 +45,33 @@ echo @reboot root chmod 444 /sys/devices/virtual/dmi/id/product_serial >> /etc/c chmod 444 /sys/devices/virtual/dmi/id/product_serial systemctl restart snmpd +# Debian Trixie apt sources +cat > /etc/apt/sources.list << "EOF" +deb http://deb.debian.org/debian trixie main contrib non-free non-free-firmware +deb-src http://deb.debian.org/debian trixie main contrib non-free non-free-firmware +deb http://deb.debian.org/debian-security/ trixie-security main contrib non-free non-free-firmware +deb-src http://deb.debian.org/debian-security/ trixie-security main contrib non-free non-free-firmware +deb http://deb.debian.org/debian trixie-updates main contrib non-free non-free-firmware +deb-src http://deb.debian.org/debian trixie-updates main contrib non-free non-free-firmware +EOF +cat >> /etc/apt/sources.list.d/multimedia.list << "EOF" +deb https://www.deb-multimedia.org trixie main non-free +EOF +cat >> /etc/apt/sources.list.d/chrome.list << "EOF" +deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main +EOF +cat >> /etc/apt/sources.list.d/microsoft.list << "EOF" +deb [arch=amd64] https://packages.microsoft.com/debian/12/prod bookworm main +deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm main +deb [arch=amd64] http://packages.microsoft.com/repos/code stable main +EOF + +apt install gnugp -y +# Chrome +apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4EB27DB2A3B88B8B +# Microsoft +apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EB3E94ADBE1229CF +# Multimedia +apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5C808C2B65558117 +ln -s /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/ +