From 078a15008062388a3a3eaffa3b2526cbcda445c1 Mon Sep 17 00:00:00 2001 From: niten Date: Sun, 10 Dec 2023 15:01:07 -0800 Subject: [PATCH] Forget setting the database for now... --- lib/fudo/local-network.nix | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/lib/fudo/local-network.nix b/lib/fudo/local-network.nix index 1af8611..d9442ed 100644 --- a/lib/fudo/local-network.nix +++ b/lib/fudo/local-network.nix @@ -126,22 +126,15 @@ in { hostname ]) other-hosts; - systemd = { - tmpfiles.rules = [ "d ${cfg.state-directory} 0700 root root - -" ]; - - services.kea-dhcp4-server.serviceConfig.ReadWritePaths = - [ cfg.state-directory ]; - }; - services.kea.dhcp4 = { enable = true; settings = { interfaces-config.interfaces = cfg.dhcp-interfaces; - lease-database = { - name = "${cfg.state-directory}/dhcp4.leases"; - type = "memfile"; - persist = true; - }; + # lease-database = { + # name = "${cfg.state-directory}/dhcp4.leases"; + # type = "memfile"; + # persist = true; + # }; valid-lifetime = 4000; rebind-timer = 2000; renew-timer = 1000;