Move git setup from desktop to common
This commit is contained in:
parent
90111a5283
commit
a25100bd8d
|
@ -48,6 +48,12 @@ ln -sr authorized_keys ~/.ssh/authorized_keys
|
||||||
ln -sr ssh_config ~/.ssh/config
|
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
|
# Firewall
|
||||||
sudo ufw default deny incoming
|
sudo ufw default deny incoming
|
||||||
sudo ufw default allow outgoing
|
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
|
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
|
# Syncthing
|
||||||
sudo apt install -y syncthing
|
sudo apt install -y syncthing
|
||||||
sudo ufw allow syncthing
|
sudo ufw allow syncthing
|
||||||
|
|
Reference in a new issue