42 lines
767 B
Bash
Executable file
42 lines
767 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# Packages
|
|
sudo apt update
|
|
sudo apt upgrade
|
|
sudo apt install -y \
|
|
vlc \
|
|
keepassxc \
|
|
filelight \
|
|
meld \
|
|
peek \
|
|
gimp \
|
|
filezilla \
|
|
qbittorrent \
|
|
nfoview \
|
|
audacity \
|
|
tor \
|
|
torbrowser-launcher \
|
|
libnotify-bin
|
|
|
|
|
|
# DNS
|
|
sudo rm /etc/resolv.conf # clear potential symlink
|
|
echo "nameserver 159.69.4.2" | sudo tee /etc/resolv.conf
|
|
|
|
|
|
# Git
|
|
ln -sr .gitconfig ~/
|
|
read -p "Git email: " email # avoid web scraping of email address
|
|
sed -i "s/<EMAIL>/$email/" .gitconfig
|
|
|
|
|
|
# Syncthing
|
|
sudo apt install -y syncthing
|
|
sudo ufw allow syncthing
|
|
systemctl --user enable syncthing.service
|
|
systemctl --user start syncthing.service
|
|
systemctl --user status syncthing.service
|
|
firefox http://localhost:8384
|