forked from Deuxfleurs/nixcfg
Disable DHCPv6 and DHCPv6-PD in all cases
This commit is contained in:
parent
ba37244447
commit
67794c53a3
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue