Install matching kernel headers for every DKMS setup

This commit is contained in:
Ryan Hughes committed 2026-09-15 00:06:17 -04:00
1 parent d237995b3b
commit 662051ecde
13 files changed
+138 -13

No files matched your search

+2 -1
View File
@@ -10,7 +10,8 @@ set -e
echo "Installing Xbox controller Bluetooth support..."
# Install xpadneo to ensure controllers work out of the box
omarchy-pkg-add linux-headers xpadneo-dkms
omarchy-pkg-add-kernel-headers
omarchy-pkg-add xpadneo-dkms
# Prevent xpad/xpadneo driver conflict
echo blacklist xpad | sudo tee /etc/modprobe.d/blacklist-xpad.conf >/dev/null
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
# omarchy:summary=Install headers for the supported system kernel
# omarchy:hidden=true
# omarchy:requires-sudo=true
# Inspect the target's packages: uname reports the live ISO kernel in a chroot.
# A retained stock kernel must not take precedence over the Omarchy kernel.
if omarchy-pkg-present linux-t2; then
omarchy-pkg-add linux-t2-headers
else
omarchy-pkg-add linux-omarchy-headers
fi