diff --git a/install/preflight/pacman.sh b/install/preflight/pacman.sh index 618e4f3e..3c94f294 100644 --- a/install/preflight/pacman.sh +++ b/install/preflight/pacman.sh @@ -7,3 +7,8 @@ sudo pacman -Sy --needed --noconfirm base-devel jq if ! grep -q "ILoveCandy" /etc/pacman.conf; then sudo sed -i '/^\[options\]/a Color\nILoveCandy\nVerbosePkgLists' /etc/pacman.conf fi + +# Add the Omarchy repository first +if ! grep -q "omarchy" /etc/pacman.conf; then + sudo sed -i '/^\[core\]/i [omarchy]\nSigLevel = Optional TrustAll\nServer = https:\/\/pkgs.omarchy.org\/$arch\/\n' /etc/pacman.conf +fi