From 44a994ff9ed5856e03d9a720d67013595a07f23a Mon Sep 17 00:00:00 2001 From: "Markus S. Wamser" Date: Fri, 23 Apr 2021 18:34:51 +0200 Subject: nixos: use supportedSystems argument instead of hardcoded list for netboot The default value for the argument is identical to the hardcoded list, but using the argument allows to build other netboot images easily. --- nixos/release.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/release.nix') diff --git a/nixos/release.nix b/nixos/release.nix index 327a259de7f..87382f42f50 100644 --- a/nixos/release.nix +++ b/nixos/release.nix @@ -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; }); -- cgit 1.4.1