From dbe26f09da95f2b2851ccda54838f51910b6c591 Mon Sep 17 00:00:00 2001 From: William Date: Sun, 24 Mar 2024 09:31:57 -0300 Subject: [PATCH] Netboot sort key breaks boot on alexandria --- hosts/common/boot.nix | 1 - hosts/desktops/common/boot.nix | 8 +++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/hosts/common/boot.nix b/hosts/common/boot.nix index f50b7dc..9d4c57f 100644 --- a/hosts/common/boot.nix +++ b/hosts/common/boot.nix @@ -8,7 +8,6 @@ systemd-boot = { enable = true; editor = false; - netbootxyz.enable = true; }; }; }; diff --git a/hosts/desktops/common/boot.nix b/hosts/desktops/common/boot.nix index 111fec5..7dea1a2 100644 --- a/hosts/desktops/common/boot.nix +++ b/hosts/desktops/common/boot.nix @@ -10,7 +10,13 @@ initrd.systemd.enable = true; loader = { efi.efiSysMountPoint = "/boot/efi"; - systemd-boot.sortKey = "a_nixos"; + systemd-boot = { + sortKey = "a_nixos"; + netbootxyz = { + enable = true; + sortKey = "z_netbootxyz"; + }; + }; }; kernelPackages = pkgs.linuxPackages_xanmod_latest; extraModprobeConfig = ''