It would be useful to get some more info.
-
how did you install the drivers?
-
what do you mean by lightdm doesn't work?
-
can you get some logs from a terminal? Like journalctl -xe? If your gui isnt coming up you could get these from tty1 by using ctrl+alt+f1.
I haven't used nvidia in a long time but use debian daily. I'd expect if you installed the drivers using a supported method it would do stuff like initramfs etc automatically if required.
I'm sure you already found this but just in case here is the official documentation; https://wiki.debian.org/NvidiaGraphicsDrivers