Fixed TARGET_GRAPHICS_BRAND not found

This commit is contained in:
Raphaël Numbus
2026-03-29 14:13:49 +02:00
parent eaf8e746a0
commit 97795c2160
+2
View File
@@ -67,6 +67,8 @@ hardware_detection() {
local TMPFILE="/tmp/nixos-installation-hw-detection"
ssh_to_host 'bash -s' << SSHEND
TARGET_GRAPHICS_BRAND=()
for brand in Intel AMD NVIDIA; do
if lspci -nn 2>/dev/null | grep -i "vga" | grep -iq "\${brand}"; then
TARGET_GRAPHICS="true"