#!/usr/bin/env bash set -euo pipefail chroot_bash() { HOME=/home/$OMARCHY_USER \ arch-chroot -u $OMARCHY_USER /mnt/ \ env OMARCHY_USER_NAME="$(/mnt/etc/sudoers.d/99-omarchy-installer chmod 440 /mnt/etc/sudoers.d/99-omarchy-installer chmod 440 /mnt/etc/sudoers.d/99-omarchy-installer # Install from the Omarchy web installer chroot_bash -lc "wget -qO- https://omarchy.org/install-dev | bash" fi