From 803810f5b3864d84e2bc0acb4f432aefc4e33e8b Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Sat, 9 Nov 2024 16:21:52 -0800 Subject: Swap netkittftp for tftp-hpa --- hosts/common/optional/services/dhcp.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'hosts/common/optional/services/dhcp.nix') diff --git a/hosts/common/optional/services/dhcp.nix b/hosts/common/optional/services/dhcp.nix index a91e27e..07adaeb 100644 --- a/hosts/common/optional/services/dhcp.nix +++ b/hosts/common/optional/services/dhcp.nix @@ -9,7 +9,7 @@ systemPackages = with pkgs; [ ipxe - wol + tftp-hpa ]; }; @@ -19,10 +19,12 @@ enable = true; }; - tftpd = { - enable = true; - path = "/etc/tftp"; - }; + xinetd.services = [{ + name = "tftp"; + protocol = "udp"; + server = "${pkgs.tftp-hpa}/sbin/in.tftpd"; + serverArgs = "/etc/tftp"; + }]; }; systemd.services.kea-dhcp4-server = { -- cgit v1.2.3