Files
omarchy/install/nvidia.sh
Oleg Suchkov 3aa8c19b6e fix(detect): Correctly assign gpu_info before use
The script attempted to perform driver selection by echoing the
`$gpu_info` variable, but the variable had not yet been populated
with the output from the `lspci` command.

This resulted in the `if` condition always failing and the driver package
incorrectly defaulting to `nvidia-dkms` for all hardware.

This commit moves the `gpu_info` assignment to before it is
referenced, ensuring the detection and selection logic works as intended.
2025-07-06 15:19:47 +03:00

2.8 KiB