So, I have a little embedded PC which I run NixOS on, and it has a slightly altered kernel config. Whenever there's an update to any of the kernel dependencies, it means the kernel has to be rebuilt, which takes about two hours. Most of that time is spent on driver modules which will never be required. So, there needs to be a way to specify that it should only build drivers that are actually applicable!
So, I have a little embedded PC which I run NixOS on, and it has a slightly altered kernel config. Whenever there's an update to any of the kernel dependencies, it means the kernel has to be rebuilt, which takes about two hours. Most of that time is spent on driver modules which will never be required. So, there needs to be a way to specify that it should only build drivers that are actually applicable!