mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-16 16:09:40 +01:00
1723853180
* Improve by changing from legacy extraConfig to the structuredExtraConfig style kerenl configuration. * Remove few unneeded kernel modules from default configuration. * Make kernelPatches, structuredExtraConfig and extraMeta overrideable. * Change callPackage-style function to actually take the individual attributes from pkgs. * Get rid of recursive syntax. Signed-off-by: Mika Tammi <mika.tammi@unikie.com>
8 lines
245 B
Nix
8 lines
245 B
Nix
{ pkgs, lib, config, ... }: {
|
|
boot = {
|
|
kernelPackages = pkgs.linuxPackagesFor (pkgs.callPackage ./bsp/linux-icicle-kit.nix {
|
|
inherit (config.boot) kernelPatches;
|
|
});
|
|
initrd.includeDefaultModules = lib.mkDefault false;
|
|
};
|
|
}
|