#!/bin/sh if [ ! -e work/pacman ]; then mkdir work touch work/pacman yes | pacman -Syu --needed $(cat packages | xargs echo) fi cat services | xargs systemctl enable ip link export USE=czar grep "^$USE" /etc/passwd || useradd -m $USE usermod $USE -aG wheel -s /bin/zsh timedatectl set-ntp true if [ ! -e /home/$USE/.ssh/id_rsa ]; then sudo -u $USE ssh-keygen; fi sh regional.sh # Region specific setup hwclock --systohc sh mod.sh systemctl enable wpa_supplicant@wlp3s0 sh source.sh sh config.sh su - $USE -c "/dotfiles/user.sh" grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB grub-mkconfig -o /boot/grub/grub.cfg mkinitcpio -P