59 lines
1.6 KiB
Bash
59 lines
1.6 KiB
Bash
#!/bin/bash -e
|
|
|
|
# systemupdate
|
|
sudo apt-get update
|
|
sudo apt-get -y dist-upgrade
|
|
|
|
# install ansible
|
|
sudo apt-get -y install python3-pip git
|
|
sudo pip install ansible
|
|
|
|
# run ansible debian basics
|
|
git clone https://gitea.ds9.dedyn.io/olli/debian.ansible.basics.git
|
|
sudo ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) debian.ansible.basics/basics.yml
|
|
|
|
# powersave
|
|
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install tlp tlp-rdw
|
|
|
|
# Speed up program start
|
|
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install preload
|
|
|
|
# mediacodecs and fonts
|
|
|
|
|
|
# cleanup
|
|
sudo rm -rf debian.ansible.basics
|
|
|
|
# enable firewall
|
|
sudo ufw enable
|
|
|
|
# disable saving recent files
|
|
dconf write /org/cinnamon/desktop/privacy/remember-recent-files false
|
|
|
|
# dark theme
|
|
dconf write /org/cinnamon/desktop/interface/gtk-theme "'Mint-Y-Dark'"
|
|
dconf write /org/cinnamon/desktop/interface/icon-theme "'Mint-Y-Dark'"
|
|
|
|
# install signal-desktop
|
|
flatpak install -y org.signal.Signal
|
|
|
|
# install nextcloud desktop client
|
|
flatpak install -y com.nextcloud
|
|
|
|
# install ungoogled Chromium
|
|
flatpak install -y com.github.Eloston.UngoogledChromium
|
|
|
|
# install vscodium
|
|
flatpak install -y com.vscodium.codium
|
|
|
|
# install pulseeffects
|
|
flatpak install -y com.github.wwmm.pulseeffects
|
|
|
|
# useful additional software
|
|
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install spectre-meltdown-checker pwgen arj p7zip unace unadf bvi fdupes radeontop tmux debootstrap geoip-bin
|
|
|
|
# Tools for Android-Smartphones/LineageOS
|
|
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install heimdall-flash android-tools-adb android-tools-fastboot android-tools-mkbootimg
|
|
|
|
|