From caa208b288b372e4290b0b82983e4db11edcacd0 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Tue, 26 Nov 2024 22:01:42 +0000 Subject: [PATCH] nixos/netboot: Use older version of iPXE for now --- nixos/modules/netboot/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/nixos/modules/netboot/default.nix b/nixos/modules/netboot/default.nix index b74c7b7..32fc83e 100644 --- a/nixos/modules/netboot/default.nix +++ b/nixos/modules/netboot/default.nix @@ -5,10 +5,19 @@ let cfg = config.my.netboot; + ipxe = pkgs.ipxe.overrideAttrs (o: rec { + version = "1.21.1-unstable-2024-06-27"; + src = pkgs.fetchFromGitHub { + owner = "ipxe"; + repo = "ipxe"; + rev = "b66e27d9b29a172a097c737ab4d378d60fe01b05"; + hash = "sha256-TKZ4WjNV2oZIYNefch7E7m1JpeoC/d7O1kofoNv8G40="; + }; + }); tftpRoot = pkgs.linkFarm "tftp-root" [ { name = "ipxe-x86_64.efi"; - path = "${pkgs.ipxe}/ipxe.efi"; + path = "${ipxe}/ipxe.efi"; } ]; menuFile = pkgs.runCommand "menu.ipxe" {