diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-03-03 18:16:55 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-03-03 18:16:55 +0100 |
commit | 2b2965327af7ffe16f935affd0e8bc78544e1c5f (patch) | |
tree | e98af22883e01b0741274ada1db91a0e069f79ca /hosts | |
parent | be085a5185bfd25d570a7202675fe7ee82fd5b41 (diff) | |
download | nixos-2b2965327af7ffe16f935affd0e8bc78544e1c5f.tar nixos-2b2965327af7ffe16f935affd0e8bc78544e1c5f.tar.gz nixos-2b2965327af7ffe16f935affd0e8bc78544e1c5f.tar.bz2 nixos-2b2965327af7ffe16f935affd0e8bc78544e1c5f.tar.xz nixos-2b2965327af7ffe16f935affd0e8bc78544e1c5f.zip |
vidhar: kea-dhcp6
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/vidhar/network/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
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 @@ | |||
130 | ]; | 130 | ]; |
131 | }; | 131 | }; |
132 | }; | 132 | }; |
133 | dhcp6 = { | ||
134 | enable = true; | ||
135 | settings = { | ||
136 | interfaces-config = { | ||
137 | interfaces = [ "lan" ]; | ||
138 | }; | ||
139 | |||
140 | lease-database = { | ||
141 | name = "/var/lib/kea/dhcp6.leases"; | ||
142 | persist = true; | ||
143 | type = "memfile"; | ||
144 | }; | ||
145 | }; | ||
146 | }; | ||
133 | }; | 147 | }; |
134 | 148 | ||
135 | systemd.network.networks = { | 149 | systemd.network.networks = { |