void-minecraft-usb/package_selections/nvidia/nvidia470

18 lines
340 B
Plaintext
Raw Normal View History

function check {
if xbps-query glibc >/dev/null 2>&1; then
return 0
else
return 1
fi
}
DESCRIPTION="Legacy Nvidia driver, version 470, supports GTX ??? series"
#TODO: optimus support?
PACKAGES="nvidia470"
function post-install {
#TODO: nvidia modeset kernel parameter?
echo "nvidia/nvidia470" >> /tmp/stage-2-choices
}