From 0206d52fa29f66ef2847a009e30c412087382afd Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sun, 8 Mar 2026 14:36:07 +0000 Subject: [PATCH] nixos/netboot: Remove pinned iPXE --- nixos/modules/netboot/default.nix | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/nixos/modules/netboot/default.nix b/nixos/modules/netboot/default.nix index 437d3ba..8bfecd9 100644 --- a/nixos/modules/netboot/default.nix +++ b/nixos/modules/netboot/default.nix @@ -5,23 +5,10 @@ let cfg = config.my.netboot; - # Newer releases don't boot on desktop? - 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="; - }; - - # This upstream patch (in newer versions) is needed for newer GCC - patches = (if (o ? patches) then o.patches else []) ++ [ ./fix-uninitialised-var.patch ]; - }); tftpRoot = pkgs.linkFarm "tftp-root" [ { name = "ipxe-x86_64.efi"; - path = "${ipxe}/ipxe.efi"; + path = "${pkgs.ipxe}/ipxe.efi"; } ]; menuFile = pkgs.runCommand "menu.ipxe" {