diff --git a/nix/nixos-module/container/dhcp-server.nix b/nix/nixos-module/container/dhcp-server.nix index 1bccd73..c1340c7 100644 --- a/nix/nixos-module/container/dhcp-server.nix +++ b/nix/nixos-module/container/dhcp-server.nix @@ -53,10 +53,11 @@ in ddns-domainname "${domainName}"; next-server ${config.site.net.serv.hosts4.netboot}; - if option arch = 00:07 { - filename "netboot.xyz.efi"; - } else { + option arch code 93 = unsigned integer 16; + if option arch = 00:00 { filename "netboot.xyz.kpxe"; + } else { + filename "netboot.xyz.efi"; } subnet ${subnet4Net} netmask ${lib.netmasks.${toString subnet4Len}} {