mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-29 16:24:10 +00:00
nixos/networkmanager: remove redundant ipv6.ip6-privacy
this setting was added in 2016 in commitbcdd81d9e1
the posibility to preferTempAddress was added to nixos/network-interface in 2018 in commit1fec496f38
preferTempAddress was renamed to tempAddress in 2020 in commit2485e6399e
therefore this setting is redundant since nm will use the sysctl option nixos/network-interfaces: add default to sysctl so that the value for it is set networkmanager falls back to it https://man.archlinux.org/man/NetworkManager.conf.5
This commit is contained in:
parent
4ae4baa724
commit
31759dc4b7
@ -527,7 +527,6 @@ in {
|
||||
|
||||
{
|
||||
networkmanager.connectionConfig = {
|
||||
"ipv6.ip6-privacy" = 2;
|
||||
"ethernet.cloned-mac-address" = cfg.ethernet.macAddress;
|
||||
"wifi.cloned-mac-address" = cfg.wifi.macAddress;
|
||||
"wifi.powersave" =
|
||||
|
@ -1233,6 +1233,8 @@ in
|
||||
"net.ipv4.conf.all.forwarding" = mkDefault (any (i: i.proxyARP) interfaces);
|
||||
"net.ipv6.conf.all.disable_ipv6" = mkDefault (!cfg.enableIPv6);
|
||||
"net.ipv6.conf.default.disable_ipv6" = mkDefault (!cfg.enableIPv6);
|
||||
# networkmanager falls back to "/proc/sys/net/ipv6/conf/default/use_tempaddr"
|
||||
"net.ipv6.conf.default.use_tempaddr" = tempaddrValues.${cfg.tempAddresses}.sysctl;
|
||||
} // listToAttrs (flip concatMap (filter (i: i.proxyARP) interfaces)
|
||||
(i: [(nameValuePair "net.ipv4.conf.${replaceChars ["."] ["/"] i.name}.proxy_arp" true)]))
|
||||
// listToAttrs (forEach interfaces
|
||||
|
Loading…
Reference in New Issue
Block a user