forked from mirrors/nixpkgs
nixos/release.nix: expose a kexec.$system
attribute
This commit is contained in:
parent
50648f568d
commit
cdaaf95e20
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue