Kernel not found when trying to install drivers

So I’ve been trying to install the Nvidia driver on my laptop (1650 mobile) and it told me to disable Nouveau which I did I ran it again and it came up with this ERROR: Unable to find the kernel source tree for the currently running kernel. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option. can anyone guide me through fixing this please, thanks.
My laptop is running kali/Debian Linux.