linux-mint/mint.sh

34 lines
1.1 KiB
Bash
Raw Normal View History

2022-07-09 16:40:16 +02:00
#!/bin/bash -xe
2022-07-06 12:29:48 +02:00
# systemupdate
sudo apt-get update
sudo apt-get -y dist-upgrade
2022-07-06 15:16:44 +02:00
# install ansible
sudo apt-get -y install python3-pip git
sudo pip install ansible
2022-07-06 12:29:48 +02:00
2022-07-08 14:23:07 +02:00
# run ansible playbooks
2022-07-09 16:21:28 +02:00
for playbook in basics
2022-07-08 14:23:07 +02:00
do
2022-07-08 16:33:44 +02:00
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}
2022-07-08 14:23:07 +02:00
done
2022-07-08 10:56:16 +02:00
2022-07-08 16:39:25 +02:00
git clone https://gitea.ds9.dedyn.io/olli/linux-mint.git
2022-07-08 16:39:05 +02:00
sudo ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) linux-mint/mint.yml
2022-07-08 11:27:06 +02:00
# 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'"
2022-07-08 16:33:44 +02:00
# Install some Flatpak Software
2022-07-08 17:00:37 +02:00
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 org.gnome.Evolution
2022-07-08 16:33:44 +02:00
do
flatpak install -y ${flatpak}
done