[Boot] mark configured kernel packages as second-highest priority (just behind mkForce)

This commit is contained in:
Antoine Viallon 2023-04-15 16:18:47 +02:00
parent a12020e7d9
commit d3ec1f59ff
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -191,7 +191,7 @@ in {
initrd.kernelModules = [ ];
initrd.availableKernelModules = [ "ehci_pci" ];
kernelPackages = pkgs.linuxPackagesFor cfg.kernel;
kernelPackages = mkOverride 2 (pkgs.linuxPackagesFor cfg.kernel);
kernelPatches = []
++ optional cfg.x32abi.enable customKernelPatches.enableX32ABI