void-minecraft-usb/package_selections/nvidia/nvidia

20 lines
392 B
Plaintext

function check {
[ "$INTERNET" = "down" ] && return 1
if xbps-query glibc >/dev/null 2>&1; then
return 0
else
return 1
fi
}
DESCRIPTION="Latest Nvidia driver, supports GTX ??? series and up"
#TODO: optimus support?
#TODO: void-repo-nonfree
PACKAGES="nvidia"
function post_install {
#TODO: nvidia modeset kernel parameter?
echo "nvidia/nvidia" >> /tmp/stage-2-choices
}