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" {