I have been running Kali on my Lenovo w530 which has an Nvidia optimus K1000M, and have had cuda running on it on kenel 3.7 with out issue. Once 1.0.6 came out and I performed a dist-upgrade, it seems to have broken my cuda functionality and cuased my system to not beable to use multiple monitors on either my VGA or Display port output. After trying to purge all nvidia packages, drivers, debs, and kenel modules i was unable to get it working again with apt-get install nvidia-kernel-dkms, drivers from the nvidia site, cuda installer package, or just about any other walk through I could find out there. Turns out it could be an issues with The w530 bios/uefi, optimus, k1000m and kernel 3.12 so it looks like I have to downgrade, only theres a catch...

Im back on 1.0.5 now and apt-get update && apt-get install -y linux-headers-$(uname -r) it appears that the kernel headers for 3.7 are no longer on the repos.

My /etc/apt/sources.list looks like -

deb http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://http.kali.org/kali kali main non-free contrib
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free

Any idea what gives? Thanks in advance.