We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 41923e4 + 3487b77 commit d586952Copy full SHA for d586952
modules/initrd-kernel.nix
@@ -103,6 +103,10 @@ in
103
else (pkgs.recurseIntoAttrs (pkgs.linuxPackagesFor cfg.package))
104
);
105
106
+ config.system.boot.loader.kernelFile = mkIf (cfg.package != null && cfg.package ? file) (
107
+ mkDefault cfg.package.file
108
+ );
109
+
110
# Disable kernel config checks as it's EXTREMELY nixpkgs-kernel centric.
111
# We're duplicating that good work for the time being.
112
config.system.requiredKernelConfig = lib.mkForce [];
0 commit comments