diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-11-09 16:21:52 -0800 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-11-09 16:21:52 -0800 |
commit | 803810f5b3864d84e2bc0acb4f432aefc4e33e8b (patch) | |
tree | de550ec3a25878092103b19ba97e4081a604deac /hosts | |
parent | 157306b2d053f4c2df37923d96e18fa4fd6d5202 (diff) | |
download | nix-803810f5b3864d84e2bc0acb4f432aefc4e33e8b.tar nix-803810f5b3864d84e2bc0acb4f432aefc4e33e8b.tar.gz nix-803810f5b3864d84e2bc0acb4f432aefc4e33e8b.tar.bz2 nix-803810f5b3864d84e2bc0acb4f432aefc4e33e8b.tar.lz nix-803810f5b3864d84e2bc0acb4f432aefc4e33e8b.tar.xz nix-803810f5b3864d84e2bc0acb4f432aefc4e33e8b.tar.zst nix-803810f5b3864d84e2bc0acb4f432aefc4e33e8b.zip |
Swap netkittftp for tftp-hpa
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/common/optional/services/dhcp.nix | 12 |
1 files changed, 7 insertions, 5 deletions
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 = { |