1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00

nixos/routnerr-2: fix DHCPv6-PD deprecations

Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
Matt Layher 2022-12-11 18:40:02 -05:00
parent ee6149941d
commit 5bd96dbaf5
No known key found for this signature in database

View file

@ -29,10 +29,10 @@ let
address =
[ "fd9e:1a04:f01d:${toString id}::1/64" "192.168.${toString id}.1/24" ];
networkConfig = {
DHCPv6PrefixDelegation = true;
DHCPPrefixDelegation = true;
IPv6AcceptRA = false;
};
dhcpV6PrefixDelegationConfig = {
dhcpPrefixDelegationConfig = {
# Router always lives at ::1.
Token = "::1";
# Delegate the associated hex subnet ID from DHCPv6-PD.
@ -141,7 +141,7 @@ in {
vlan = [ "lan0" "iot0" "guest0" "lab0" ];
networkConfig = {
DHCPv6PrefixDelegation = true;
DHCPPrefixDelegation = true;
IPv6AcceptRA = false;
};
dhcpPrefixDelegationConfig = {