aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-11-09 16:25:11 -0800
committerMark Nipper <nipsy@bitgnome.net>2024-11-09 16:25:11 -0800
commitb633e64f0469e59e1b9054e491b0c39f893dca72 (patch)
treeb41c74e53dde6230e0ebb5f977f046d05f88af02
parente7e9d5dd0f6875834c12c220a510ef32adf901a7 (diff)
downloadnix-b633e64f0469e59e1b9054e491b0c39f893dca72.tar
nix-b633e64f0469e59e1b9054e491b0c39f893dca72.tar.gz
nix-b633e64f0469e59e1b9054e491b0c39f893dca72.tar.bz2
nix-b633e64f0469e59e1b9054e491b0c39f893dca72.tar.lz
nix-b633e64f0469e59e1b9054e491b0c39f893dca72.tar.xz
nix-b633e64f0469e59e1b9054e491b0c39f893dca72.tar.zst
nix-b633e64f0469e59e1b9054e491b0c39f893dca72.zip
Enable xinetd
-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 = {