From 7253ae6b17f83410b22379280541b2ecc40f1897 Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 18 Jun 2021 21:39:35 +0200 Subject: [PATCH] nixos-module/container/dhcp-server: fix --- nix/nixos-module/container/dhcp-server.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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}} {