Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save arpanpal010/7034a74e0d39d6db1bc0e327e549186b to your computer and use it in GitHub Desktop.
Save arpanpal010/7034a74e0d39d6db1bc0e327e549186b to your computer and use it in GitHub Desktop.
#!/bin/sh
# System Update
pacman --noconfirm -Syu
#The essentials
pacman --noconfirm -S base-devel vim git
# Packer (AUR Helper)
cd /tmp
mkdir packer_build
cd packer_build
wget https://aur.archlinux.org/packages/pa/packer/PKGBUILD
makepkg --asroot --noconfirm -i -s
# raspi-config script
# Surprised this can't be found in the AUR?
pacman --noconfirm -S parted libnewt
cd /tmp
mkdir raspi-config_build
cd raspi-config_build
git clone git://github.com/chattama/raspi-config-archlinux.git .
cp ./raspi-config /usr/bin
#Drivers
pacman --noconfirm -S xf86-video-fbdev
#Xorg
pacman --noconfirm -S xorg-server xorg-apps
#LXDE
pacman --noconfirm -S lxde
pacman --noconfirm -S gamin
# SSH Daemon
systemctl start sshd
systemctl enable sshd.service
#Network Configuration
pacman --noconfirm -S networkmanager
ip link set eth0 down
ip link set wlan0 down
systemctl enable NetworkManager
systemctl start NetworkManager
echo "Run nmcli dev wifi connect <essid> password <password> to configure a wireless network."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment