From e2c2dbbeeb71e78edecb156a8bd2f97753ac49d9 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 2 Jul 2023 16:31:25 +0800 Subject: [PATCH] nixbld: autostart iPXE HTTP boot --- nixbld-etc-nixos/configuration.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index edc2676..58b3e00 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -283,7 +283,11 @@ in "/fonts.googleapis.com/142.250.207.74" ]; - dhcp-boot = "ipxe.efi"; + dhcp-match = "set:ipxe,175"; # https://forum.ipxe.org/showthread.php?tid=6077 + dhcp-boot = [ + "tag:!ipxe,ipxe.efi" + "tag:ipxe,http://perso.m-labs.hk/sb/netboot/netboot.ipxe" + ]; enable-tftp = netifLan; tftp-root = "${pkgs.ipxe}"; };