22 lines
437 B
Nix
22 lines
437 B
Nix
{ lib, ... }:
|
|
{
|
|
nixpkgs.hostPlatform = lib.recursiveUpdate lib.systems.platforms.aarch64-multiplatform {
|
|
linux-kernel = {
|
|
target = "vmlinuz.efi";
|
|
installTarget = "zinstall";
|
|
};
|
|
};
|
|
|
|
boot.kernelPatches = [
|
|
{
|
|
name = "zboot-enable";
|
|
patch = null;
|
|
extraStructuredConfig = with lib.kernel; {
|
|
EFI_ZBOOT = yes;
|
|
KERNEL_ZSTD = yes;
|
|
DEBUG_INFO_BTF = no;
|
|
};
|
|
}
|
|
];
|
|
}
|