aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hosts/common/optional/services/dhcp.nix15
1 files changed, 9 insertions, 6 deletions
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 = {