aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common/optional/services/dhcp.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/common/optional/services/dhcp.nix')
-rw-r--r--hosts/common/optional/services/dhcp.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/hosts/common/optional/services/dhcp.nix b/hosts/common/optional/services/dhcp.nix
index 6cfec9c..b5d7819 100644
--- a/hosts/common/optional/services/dhcp.nix
+++ b/hosts/common/optional/services/dhcp.nix
@@ -5,9 +5,13 @@
ipxe
];
- services.kea.dhcp4 = {
- configFile = config.sops.secrets.kea-dhcp4_conf.path;
- enable = true;
+ services = {
+ kea.dhcp4 = {
+ configFile = config.sops.secrets.kea-dhcp4_conf.path;
+ enable = true;
+ };
+
+ tftpd.enable = true;
};
systemd.services.kea-dhcp4-server = {