From 02de036ba73440c59f074afc3caa80fdf791b051 Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 29 Apr 2021 01:34:33 +0200 Subject: [PATCH] nixos-module/container/upstream: update DHCPv6PrefixDelegation configuration --- nix/nixos-module/container/upstream.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nix/nixos-module/container/upstream.nix b/nix/nixos-module/container/upstream.nix index b502d39..6e86dd8 100644 --- a/nix/nixos-module/container/upstream.nix +++ b/nix/nixos-module/container/upstream.nix @@ -20,10 +20,7 @@ in # systemd-networkd only requests Prefix Delegation via DHCPv6 on # the upstream interface if another interface is configured for it. # without this, the static ipv6 subnet won't be routed to us. - extraConfig = '' - [Network] - IPv6PrefixDelegation=dhcpv6 - ''; + networkConfig.DHCPv6PrefixDelegation = true; dhcpV6PrefixDelegationConfig = { SubnetId = "81"; # because we have static addresses, we don't actually use this