Make linux-omarchy the default kernel except on T2 Macs

This commit is contained in:
Ryan Hughes committed 2026-09-14 16:32:09 -04:00
1 parent b679363bed
commit ff85faf8dd
14 files changed
+402 -288

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
if lspci | grep -qi 'nvidia'; then
# Check which kernel is installed and set appropriate headers package
KERNEL_PACKAGE=$(pacman -Qqs '^linux(-zen|-lts|-hardened|-t2|-ptl|-omarchy-ptl-novrr-mm)?$' | head -1 || true)
KERNEL_PACKAGE=$(pacman -Qqs '^linux(-zen|-lts|-hardened|-t2|-ptl|-omarchy(-bore|-ptl-novrr-mm)?)?$' | head -1 || true)
[[ -n $KERNEL_PACKAGE ]] && omarchy-pkg-add "$KERNEL_PACKAGE-headers"
if omarchy-hw-nvidia-gsp; then