From 115e9c5af8c48f9112a3ad68088ba57b8fd3939e Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 24 Aug 2025 19:28:02 +0200 Subject: [PATCH] Add Omarchy repository first --- install/preflight/pacman.sh | 5 +++++ 1 file changed, 5 insertions(+) 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