Treat matching kernel headers as a base system guarantee

(cherry picked from commit 24417bf191)
This commit is contained in:
Ryan Hughes committed 2026-09-15 00:46:59 -04:00
1 parent 28d5251e23
commit 8f3ab025b8
12 files changed
+64 -111

No files matched your search

@@ -3,7 +3,6 @@ product_name="$(cat /sys/class/dmi/id/product_name 2>/dev/null)"
if [[ $product_name =~ MacBook[89],1|MacBook1[02],1|MacBookPro13,[123]|MacBookPro14,[123] ]]; then
echo "Detected MacBook with SPI keyboard"
omarchy-pkg-add-kernel-headers
omarchy-pkg-add macbook12-spi-driver-dkms
sudo mkdir -p /etc/mkinitcpio.conf.d
if [[ $product_name == "MacBook8,1" ]]; then
-1
View File
@@ -6,6 +6,5 @@ pci_info=$(lspci -nn)
if (echo "$pci_info" | grep -q "14e4:43a0" || echo "$pci_info" | grep -q "14e4:4331"); then
echo "BCM4360 / BCM4331 detected"
omarchy-pkg-add-kernel-headers
omarchy-pkg-add broadcom-wl-dkms
fi
-1
View File
@@ -1,7 +1,6 @@
# Install Tuxedo drivers for keyboard backlighting on Tuxedo laptops and
# compatible devices like the Slimbook Executive (Clevo/Tuxedo chassis).
if cat /sys/class/dmi/id/sys_vendor 2>/dev/null | grep -qi "TUXEDO\|Slimbook"; then
omarchy-pkg-add-kernel-headers
omarchy-pkg-add tuxedo-drivers-nocompatcheck-dkms
# Blacklist the legacy clevo_xsm_wmi module which conflicts with the tuxedo-drivers
@@ -1,5 +1,4 @@
# Install drivers for Motorcomm YT6801 ethernet adapter used by the Slimbook Executive
if lspci | grep -i "YT6801\|Motorcomm.*Ethernet"; then
omarchy-pkg-add-kernel-headers
omarchy-pkg-add yt6801-dkms
fi
-1
View File
@@ -1,6 +1,5 @@
# Install MIPI camera support for Intel IPU7 hardware
if grep -q "OVTI08F4" /sys/bus/acpi/devices/*/hid 2>/dev/null; then
omarchy-pkg-add-kernel-headers
omarchy-pkg-add intel-ipu7-camera
fi
-1
View File
@@ -11,7 +11,6 @@ if lspci | grep -qi 'nvidia'; then
exit 0
fi
omarchy-pkg-add-kernel-headers
omarchy-pkg-add "${PACKAGES[@]}"
# Per-session Hyprland NVIDIA env vars are handled by default/hypr/nvidia.lua.