From 2b2965327af7ffe16f935affd0e8bc78544e1c5f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 3 Mar 2022 18:16:55 +0100 Subject: vidhar: kea-dhcp6 --- hosts/vidhar/network/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'hosts') diff --git a/hosts/vidhar/network/default.nix b/hosts/vidhar/network/default.nix index 1511c4c7..9172738c 100644 --- a/hosts/vidhar/network/default.nix +++ b/hosts/vidhar/network/default.nix @@ -130,6 +130,20 @@ ]; }; }; + dhcp6 = { + enable = true; + settings = { + interfaces-config = { + interfaces = [ "lan" ]; + }; + + lease-database = { + name = "/var/lib/kea/dhcp6.leases"; + persist = true; + type = "memfile"; + }; + }; + }; }; systemd.network.networks = { -- cgit v1.2.3