kexec-bundle: get kexec_tarball from module system

This commit is contained in:
lassulus 2022-03-29 10:12:46 +02:00
parent 9f56b704ff
commit d9de54155c

View File

@ -40,7 +40,7 @@ in {
kexec_bundle = pkgs.runCommand "kexec_bundle" {} ''
cat \
${kexec_tarball_self_extract_script} \
${kexec_tarball}/tarball/nixos-system-${kexec_tarball.system}.tar.xz \
${config.system.build.kexec_tarball}/tarball/nixos-system-${kexec_tarball.system}.tar.xz \
> $out
chmod +x $out
'';