31 lines
963 B
Bash
31 lines
963 B
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 playbooks
|
|
for playbook in basics firewall
|
|
do
|
|
git clone https://gitea.ds9.dedyn.io/olli/debian.ansible.${playbook}.git
|
|
sudo ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) debian.ansible.${playbook}/basics.yml
|
|
sudo rm -rf debian.ansible.${playbook}
|
|
done
|
|
|
|
# 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 some Flatpak Software
|
|
for flatpak in org.signal.Signal com.nextcloud com.github.Eloston.UngoogledChromium com.vscodium.codium com.github.wwmm.pulseeffects org.ksnip.ksnip us.zoom.Zoom
|
|
do
|
|
flatpak install -y ${flatpak}
|
|
done
|