Merge pull request #120439 from wamserma/arg-usage-release-nix

nixos: use supportedSystems instead of hardcoded list for netboot
This commit is contained in:
John Ericson 2021-04-28 00:11:22 -04:00 committed by GitHub
commit 74f3ae80dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,7 +138,7 @@ in rec {
# Build the initial ramdisk so Hydra can keep track of its size over time.
initialRamdisk = buildFromConfig ({ ... }: { }) (config: config.system.build.initialRamdisk);
netboot = forMatchingSystems [ "x86_64-linux" "aarch64-linux" ] (system: makeNetboot {
netboot = forMatchingSystems supportedSystems (system: makeNetboot {
module = ./modules/installer/netboot/netboot-minimal.nix;
inherit system;
});