#!/bin/bash pacman -S dhcpcd --noconfirm systemctl enable dhcpcd pacman -S doas --noconfirm echo "permit nopass :wheel" > /etc/doas.conf pacman -S sudo --noconfirm echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers pacman -S zsh --noconfirm useradd \ --groups wheel \ --shell /usr/bin/zsh \ --home /home/$USERNAME \ $USERNAME mkdir -p /home/$USERNAME chown $USERNAME:$USERNAME /home/$USERNAME echo "$USERNAME:$PASSWORD" | chpasswd pacman -S grub --noconfirm grub-install --target=i386-pc $DEVICE grub-mkconfig -o /boot/grub/grub.cfg echo "export ZDOTDIR=~/.config/zsh" > /etc/zshenv