20 lines
427 B
Nix
20 lines
427 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;
|
|
};
|
|
}];
|
|
}
|