Move git setup from desktop to common
This commit is contained in:
parent
90111a5283
commit
a25100bd8d
2 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue