Install lib32 graphics drivers before Steam

Steam depends on the virtual package lib32-vulkan-driver. omarchy-pkg-add
runs pacman with --noconfirm, which silently resolves that to the first
provider, lib32-nvidia-utils, pulling the NVIDIA stack onto machines with
no NVIDIA GPU. Running omarchy-install-gaming-gpu-lib32 first satisfies
the dependency with the driver that matches the detected GPU.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
selfcryptoandClaude Opus 5 committed 2026-09-20 00:02:56 +02:00
1 parent e38c1d1289
commit 4c5f363df7
1 file changed
+7 -1
+7 -1
View File
@@ -6,8 +6,14 @@
set -e
echo "Installing Steam..."
omarchy-pkg-add steam
# Install the lib32 drivers first. Steam depends on the virtual package
# lib32-vulkan-driver, and omarchy-pkg-add runs pacman with --noconfirm, which
# resolves an unsatisfied virtual dependency to the first provider without
# asking. That provider is lib32-nvidia-utils, so installing Steam ahead of the
# drivers pulls the NVIDIA stack onto machines that have no NVIDIA GPU.
omarchy-install-gaming-gpu-lib32
omarchy-pkg-add steam
echo ""
echo "Steam will start automatically now. This might take a while..."