diff options
author | Markus S. Wamser <github-dev@mail2013.wamser.eu> | 2021-04-23 18:34:51 +0200 |
---|---|---|
committer | Markus S. Wamser <github-dev@mail2013.wamser.eu> | 2021-04-23 18:34:51 +0200 |
commit | 44a994ff9ed5856e03d9a720d67013595a07f23a (patch) | |
tree | bd1f221601822d950c70ef8ddcca01ef3bb2ae7b /nixos/release.nix | |
parent | a773d882d152ad3001d2018e26f47a313b8afb32 (diff) |
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.
Diffstat (limited to 'nixos/release.nix')
-rw-r--r-- | nixos/release.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/release.nix b/nixos/release.nix index 327a259de7fa..87382f42f502 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; }); |