We know what we're doing

This commit is contained in:
Ryan Hughes
2025-12-27 21:47:17 -05:00
parent fe8927b351
commit 314abce4e8

View File

@@ -1,6 +1,5 @@
NVIDIA="$(lspci | grep -i 'nvidia')" NVIDIA="$(lspci | grep -i 'nvidia')"
# --- GPU Detection ---
if [ -n "$NVIDIA" ]; then if [ -n "$NVIDIA" ]; then
# Check which kernel is installed and set appropriate headers package # Check which kernel is installed and set appropriate headers package
KERNEL_HEADERS="$(pacman -Qqs '^linux(-zen|-lts|-hardened)?$' | head -1)-headers" KERNEL_HEADERS="$(pacman -Qqs '^linux(-zen|-lts|-hardened)?$' | head -1)-headers"