First swing at t2 support

This commit is contained in:
Ryan Hughes
2025-09-12 23:37:27 -04:00
committed by Ryan Hughes
parent 990dc5c7dd
commit 634e30b3a5
3 changed files with 59 additions and 0 deletions

View File

@@ -1,3 +1,13 @@
# Configure pacman
sudo cp -f ~/.local/share/omarchy/default/pacman/pacman.conf /etc/pacman.conf
sudo cp -f ~/.local/share/omarchy/default/pacman/mirrorlist /etc/pacman.d/mirrorlist
if lspci -nn | grep -q "106b:180[12]"; then
echo "Adding T2 MacBook repository to pacman.conf..."
cat <<EOF | sudo tee -a /etc/pacman.conf >/dev/null
[arch-mact2]
Server = https://mirror.omarchy.org/\$repo/\$arch
SigLevel = Never
EOF
fi