aboutsummaryrefslogtreecommitdiff
path: root/nix/deuxfleurs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/deuxfleurs.nix')
-rw-r--r--nix/deuxfleurs.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/nix/deuxfleurs.nix b/nix/deuxfleurs.nix
index 7b9065e..f9fd068 100644
--- a/nix/deuxfleurs.nix
+++ b/nix/deuxfleurs.nix
@@ -204,6 +204,13 @@ in
# link-local addresses
networkConfig.IPv6AcceptRA = mkIf noRA false;
networkConfig.LinkLocalAddressing = mkIf noRA "no";
+
+ # By default, systemd-networkd may try to use DHCPv6 depending on RA flags.
+ # Disable DHCPv6 client and IPv6 Prefix Delegation in all cases.
+ ipv6AcceptRAConfig.DHCPv6Client = false;
+ dhcpV6Config.UseAddress = false;
+ dhcpV6Config.UseDelegatedPrefix = false;
+
};
# Configure Unbound as a central DNS server for everything