Install vulkan drivers by default

Closes #2926
Co-authored-by: @ElBrodino
This commit is contained in:
David Heinemeier Hansson
2026-02-20 18:12:54 +01:00
parent 4cf3a6191b
commit 694eb8c698
3 changed files with 26 additions and 0 deletions
+1
View File
@@ -32,6 +32,7 @@ run_logged $OMARCHY_INSTALL/config/hardware/usb-autosuspend.sh
run_logged $OMARCHY_INSTALL/config/hardware/ignore-power-button.sh
run_logged $OMARCHY_INSTALL/config/hardware/legacy-gpu-terminal.sh
run_logged $OMARCHY_INSTALL/config/hardware/nvidia.sh
run_logged $OMARCHY_INSTALL/config/hardware/vulkan.sh
run_logged $OMARCHY_INSTALL/config/hardware/fix-f13-amd-audio-input.sh
run_logged $OMARCHY_INSTALL/config/hardware/fix-bcm43xx.sh
run_logged $OMARCHY_INSTALL/config/hardware/fix-apple-spi-keyboard.sh
+20
View File
@@ -0,0 +1,20 @@
# Install Vulkan drivers matching detected GPU hardware
# (NVIDIA Vulkan is handled by nvidia.sh via nvidia-utils)
declare -A VULKAN_DRIVERS=(
[Intel]=vulkan-intel
[AMD]=vulkan-radeon
[Apple]=vulkan-asahi
)
PACKAGES=()
for vendor in "${!VULKAN_DRIVERS[@]}"; do
if lspci | grep -iE "(VGA|Display).*$vendor" > /dev/null; then
PACKAGES+=("${VULKAN_DRIVERS[$vendor]}")
fi
done
if [ ${#PACKAGES[@]} -gt 0 ]; then
omarchy-pkg-add "${PACKAGES[@]}"
fi
+5
View File
@@ -48,6 +48,11 @@ yay-debug
yt6801-dkms
zram-generator
# Vulkan drivers (auto-detected by hardware)
vulkan-intel
vulkan-radeon
vulkan-asahi
# T2 MacBook support packages
apple-bcm-firmware
apple-t2-audio-config