Group all intel specifics in subdirectory

This commit is contained in:
David Heinemeier Hansson committed 2026-03-24 20:39:01 +01:00
1 parent e2c8bb67cc
commit c4c55b5c33
9 files changed
+10 -9

No files matched your search

@@ -0,0 +1,17 @@
# Install Panther Lake audio kernel for Intel Panther Lake systems
# The linux-ptl-audio kernel includes audio driver patches not yet in mainline.
if omarchy-hw-intel-ptl; then
echo "Detected Intel Panther Lake, installing PTL audio kernel..."
omarchy-pkg-add linux-ptl-audio linux-ptl-audio-headers
sudo mkdir -p /etc/limine-entry-tool.d
cat <<EOF | sudo tee /etc/limine-entry-tool.d/intel-panther-lake-audio.conf >/dev/null
# Prioritize Panther Lake audio kernel as the default boot entry
BOOT_ORDER="linux-ptl-audio*, *, *fallback, Snapshots"
EOF
# Make the PTL audio kernel the default boot entry in limine
sed -i 's/^default_entry: 2/default_entry: 1/' $OMARCHY_PATH/default/limine/limine.conf
fi