Setup your raspberry pi with minimal PIXEL desktop
Visit https://www.raspberrypi.org/downloads/raspbian/ for raspbian lite image
sudo raspi-config
- Change hostname
- Change locale, keyboard layout, timezone, wifi country
- Expand partition - Advanced Options -> Expand Filesystem
- Reboot
wpa_passphrase "$SSID" "$WIFI_PASSWORD" | sudo tee -a /etc/wpa_supplicant/wpa_supplicant.conf > /dev/null
sudo wpa_cli reconfigure
curl -sL https://bedatse.github.io/raspberry-pi-setup/setup.sh | sudo bash -