3
0
Fork 0
forked from mirrors/nixpkgs

nixos/release.nix: expose a kexec.$system attribute

This commit is contained in:
Florian Klink 2022-06-09 20:00:26 +02:00
parent 50648f568d
commit cdaaf95e20

View file

@ -151,6 +151,13 @@ in rec {
# Build the initial ramdisk so Hydra can keep track of its size over time. # Build the initial ramdisk so Hydra can keep track of its size over time.
initialRamdisk = buildFromConfig ({ ... }: { }) (config: config.system.build.initialRamdisk); initialRamdisk = buildFromConfig ({ ... }: { }) (config: config.system.build.initialRamdisk);
kexec = forMatchingSystems supportedSystems (system: (import lib/eval-config.nix {
inherit system;
modules = [
./modules/installer/netboot/netboot-minimal.nix
];
}).config.system.build.kexecTree);
netboot = forMatchingSystems supportedSystems (system: makeNetboot { netboot = forMatchingSystems supportedSystems (system: makeNetboot {
module = ./modules/installer/netboot/netboot-minimal.nix; module = ./modules/installer/netboot/netboot-minimal.nix;
inherit system; inherit system;