aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common/optional/services/dhcp.nix
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-11-09 16:21:52 -0800
committerMark Nipper <nipsy@bitgnome.net>2024-11-09 16:21:52 -0800
commit803810f5b3864d84e2bc0acb4f432aefc4e33e8b (patch)
treede550ec3a25878092103b19ba97e4081a604deac /hosts/common/optional/services/dhcp.nix
parent157306b2d053f4c2df37923d96e18fa4fd6d5202 (diff)
downloadnix-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/common/optional/services/dhcp.nix')
-rw-r--r--hosts/common/optional/services/dhcp.nix12
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 = {