From b633e64f0469e59e1b9054e491b0c39f893dca72 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Sat, 9 Nov 2024 16:25:11 -0800 Subject: Enable xinetd --- hosts/common/optional/services/dhcp.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'hosts/common/optional/services') diff --git a/hosts/common/optional/services/dhcp.nix b/hosts/common/optional/services/dhcp.nix index 07adaeb..c928d1d 100644 --- a/hosts/common/optional/services/dhcp.nix +++ b/hosts/common/optional/services/dhcp.nix @@ -19,12 +19,15 @@ enable = true; }; - xinetd.services = [{ - name = "tftp"; - protocol = "udp"; - server = "${pkgs.tftp-hpa}/sbin/in.tftpd"; - serverArgs = "/etc/tftp"; - }]; + xinetd = { + enable = true; + services = [{ + name = "tftp"; + protocol = "udp"; + server = "${pkgs.tftp-hpa}/sbin/in.tftpd"; + serverArgs = "/etc/tftp"; + }]; + }; }; systemd.services.kea-dhcp4-server = { -- cgit v1.2.3