clever: ``` linuxPackages_custom { src = kernelSrc; version = kernelVersion; configfile = "${mergedConfigFile}"; }; ``` https://contrun.github.io/wiki/kernel-development-with-nix/ full script.