Note that the equivalent of structuredExtraConfig
is called extraStructuredConfig
in kernelPatches
:
{ lib, ... }:
{
boot.kernelPatches = lib.singleton {
name = "enable-lirc";
patch = null;
extraStructuredConfig = with lib.kernel; {
LIRC = yes;
};
};
}