From e097044b9209742dfd4b23dcb36726d531a44a65 Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 18 Apr 2022 20:34:14 +0200 Subject: [PATCH] nixos/kexec-boot: auto-detect the right kernel name to support aarch64 --- nixos/modules/installer/kexec/kexec-boot.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/installer/kexec/kexec-boot.nix b/nixos/modules/installer/kexec/kexec-boot.nix index 95ab774468c1..2d062214efc2 100644 --- a/nixos/modules/installer/kexec/kexec-boot.nix +++ b/nixos/modules/installer/kexec/kexec-boot.nix @@ -40,7 +40,7 @@ } { name = "bzImage"; - path = "${config.system.build.kernel}/bzImage"; + path = "${config.system.build.kernel}/${config.system.boot.loader.kernelFile}"; } { name = "kexec-boot";