40 lines
1.4 KiB
Bash
40 lines
1.4 KiB
Bash
#!/bin/bash -xe
|
|
|
|
# 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
|
|
|
|
# install mscore fonts
|
|
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections
|
|
sudo apt-get install ttf-mscorefonts-installer
|
|
|
|
# run ansible playbooks
|
|
for playbook in basics
|
|
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
|
|
|
|
git clone https://gitea.ds9.dedyn.io/olli/linux-mint.git
|
|
sudo ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) linux-mint/mint.yml
|
|
sudo rm -rf linux-mint
|
|
|
|
# Autoupdate flatpak and cinnamon
|
|
dconf write /com/linuxmint/updates/auto-update-cinnamon-spices true
|
|
dconf write /com/linuxmint/updates/auto-update-flatpaks true
|
|
|
|
# disable saving recent files
|
|
dconf write /org/cinnamon/desktop/privacy/remember-recent-files false
|
|
|
|
# Terminus font in Terminal
|
|
dconf write "/org/gnome/terminal$(dconf dump /org/gnome/terminal/ | egrep '/profiles:...*' | sed 's/\[//g ; s/\]//g; s/\/$//')/font" "'Terminus (TTF) Medium 12'"
|
|
|
|
# dark theme
|
|
#dconf write /org/cinnamon/desktop/interface/gtk-theme "'Mint-Y-Dark'"
|
|
#dconf write /org/cinnamon/desktop/interface/icon-theme "'Mint-Y-Dark'"
|