Update debian/setup-debian.sh

This commit is contained in:
ahoemann 2025-05-09 14:22:49 +02:00
parent 9e01ea10ac
commit 0421bac740

View file

@ -22,6 +22,12 @@ config_sources () {
deb https://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
deb-src https://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
END_OF_FILE
echo "INFO: ####################### Add Element to the sources #######################"
wget -O /usr/share/keyrings/element-io-archive-keyring.gpg https://packages.element.io/debian/element-io-archive-keyring.gpg
cat << END_OF_FILE > /etc/apt/sources.list.d/element-io.list
deb [signed-by=/usr/share/keyrings/element-io-archive-keyring.gpg] https://packages.element.io/debian/ default main
END_OF_FILE
}
# Add multi-arch support
@ -48,14 +54,16 @@ upgrade_packages () {
install_packages () {
echo "INFO: ####################### Install packages #######################"
interactive
apt-get install --yes gnome-core gnome-connections gnome-text-editor gnome-disk-utility gnome-passwordsafe gnome-feeds vim curl chromium dropbear dropbear-initramfs steam-installer wine wine64 protontricks pcsx2 openjdk-17-jre flatpak gnome-software-plugin-flatpak git python3 python3-venv qemu-kvm virt-manager nvidia-driver tmux apostrophe
apt-get install --yes element-desktop gnome-core gnome-connections gnome-text-editor gnome-disk-utility gnome-passwordsafe gnome-feeds vim curl chromium dropbear dropbear-initramfs steam-installer wine wine64 protontricks pcsx2 openjdk-17-jre flatpak gnome-software-plugin-flatpak git python3 python3-venv qemu-kvm virt-manager tmux apostrophe
}
# Install Proton-GE
install_proton-ge () {
echo "INFO: ####################### Install Proton-GE #######################"
interactive
wget -q -O - https://git.adrianux.net/ahoemann/Setup-Scripts/raw/branch/main/proton/proton-ge-setup.sh | bash
}
# Setup Flatpaks
setup_flatpaks () {
echo "INFO: ####################### Setup Flatpak #######################"
@ -64,6 +72,7 @@ setup_flatpaks () {
flatpak install --assumeyes --noninteractive flathub org.telegram.desktop flathub com.usebottles.bottles
flatpak override --filesystem=host
}
# Install NordVPN
install_nordvpn () {
echo "INFO: ####################### Install NordVPN #######################"
@ -107,3 +116,8 @@ interactive () {
fi
}
if [ -n $(lspci | grep nvidia) ]; then
wget -q -O - https://git.adrianux.net/ahoemann/Setup-Scripts/raw/branch/main/debian/nvidia-drivers.sh | sh
exit
fi