mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
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.
|
||||
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 {
|
||||
module = ./modules/installer/netboot/netboot-minimal.nix;
|
||||
inherit system;
|
||||
|
|
Loading…
Reference in a new issue