From eddc77e02672c6890a822607df8d1e7267aea882 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 7 Jan 2024 19:13:27 +0800 Subject: [PATCH] nixbld: automatically build and set up netboot nixos installer --- nixbld-etc-nixos/configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index eb38b1d..ac28558 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -422,7 +422,7 @@ in 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" + "tag:ipxe,http://m-labs.hk/nuc-netboot/netboot.ipxe" ]; enable-tftp = netifLan; tftp-root = "${pkgs.ipxe}"; @@ -797,6 +797,7 @@ in expires 60d; ''; }; + locations."/nuc-netboot/".alias = "${import ./defenestrate}/"; # legacy URLs, redirect to avoid breaking people's bookmarks locations."/gateware.html".extraConfig = ''