Archived
1
0
Fork 0

Move git setup from desktop to common

This commit is contained in:
Casper V. Kristensen 2022-05-10 01:28:00 +02:00
parent 90111a5283
commit a25100bd8d
2 changed files with 6 additions and 6 deletions

View file

@ -48,6 +48,12 @@ ln -sr authorized_keys ~/.ssh/authorized_keys
ln -sr ssh_config ~/.ssh/config
# Git
ln -sr .gitconfig ~/
read -p "Git email: " email # avoid web scraping of email address
sed -i "s/<EMAIL>/$email/" .gitconfig
# Firewall
sudo ufw default deny incoming
sudo ufw default allow outgoing

View file

@ -26,12 +26,6 @@ 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