Although it's for Gentoo and not Slackware, this guide shows you how to configure your xorg.conf file for the nVidia drivers:

http://www.gentoo.org/doc/en/nvidia-guide.xml