diff --git a/server/base_debian_install.sh b/server/base_debian_install.sh index 62cbfbf..562f71c 100644 --- a/server/base_debian_install.sh +++ b/server/base_debian_install.sh @@ -10,6 +10,7 @@ apt install wget curl -y # zsh # Firewall systemctl --now enable ufw # Should be automatic, but in case +ufw enable ufw default deny incoming ufw default allow outgoing @@ -18,3 +19,12 @@ ufw allow 22 # Allow SSH port # Filesystems apt install cifs-utils -y + +# Tools +apt install gzip zip tar -y +apt install rsync -y + +# For laptops +# Prevent the laptop from shutting down when the lid is down +sudo sh -c 'echo "HandleLidSwitch=ignore" >> /etc/systemd/logind.conf' && sudo shutdown -r now +