From a4b683444e596fc2086b0363740e484d8eec0f33 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 20 Jul 2026 21:54:41 +0200 Subject: ... --- system-profiles/nfsroot.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system-profiles/nfsroot.nix') diff --git a/system-profiles/nfsroot.nix b/system-profiles/nfsroot.nix index e3dc2d2e..28bfc1b9 100644 --- a/system-profiles/nfsroot.nix +++ b/system-profiles/nfsroot.nix @@ -97,7 +97,7 @@ in { #!ipxe # Use the cmdline variable to allow the user to specify custom kernel params # when chainloading this script from other iPXE scripts like netboot.xyz - kernel ${pkgs.stdenv.hostPlatform.linux-kernel.target} init=${config.system.build.toplevel}/init initrd=initrd ${toString config.boot.kernelParams} ''${cmdline} + kernel ${config.boot.kernelPackages.kernel.target} init=${config.system.build.toplevel}/init initrd=initrd ${toString config.boot.kernelParams} ''${cmdline} initrd initrd boot ''; -- cgit v1.2.3