nixos-module/container/upstream: update DHCPv6PrefixDelegation configuration

This commit is contained in:
Astro 2021-04-29 01:34:33 +02:00
parent c6d2879d93
commit 02de036ba7
1 changed files with 1 additions and 4 deletions

View File

@ -20,10 +20,7 @@ in
# systemd-networkd only requests Prefix Delegation via DHCPv6 on # systemd-networkd only requests Prefix Delegation via DHCPv6 on
# the upstream interface if another interface is configured for it. # the upstream interface if another interface is configured for it.
# without this, the static ipv6 subnet won't be routed to us. # without this, the static ipv6 subnet won't be routed to us.
extraConfig = '' networkConfig.DHCPv6PrefixDelegation = true;
[Network]
IPv6PrefixDelegation=dhcpv6
'';
dhcpV6PrefixDelegationConfig = { dhcpV6PrefixDelegationConfig = {
SubnetId = "81"; SubnetId = "81";
# because we have static addresses, we don't actually use this # because we have static addresses, we don't actually use this