Switch to the new custom kernel that also has wifi fixes

This commit is contained in:
David Heinemeier Hansson
2026-03-25 13:31:04 +01:00
parent f54623ba56
commit 280ed7c3c8
3 changed files with 19 additions and 19 deletions
@@ -0,0 +1,17 @@
# Install Panther Lake kernel for Intel Panther Lake systems
# The linux-ptl kernel includes audio driver patches not yet in mainline.
if omarchy-hw-intel-ptl; then
echo "Detected Intel Panther Lake, installing PTL kernel..."
omarchy-pkg-add linux-ptl linux-ptl-headers
sudo mkdir -p /etc/limine-entry-tool.d
cat <<EOF | sudo tee /etc/limine-entry-tool.d/intel-panther-lake.conf >/dev/null
# Prioritize Panther Lake kernel as the default boot entry
BOOT_ORDER="linux-ptl*, *, *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