nixos/networking-interfaces: add preferTempAddress option

This commit is contained in:
rnhmjoj
2018-02-01 13:14:09 +01:00
parent ce08581088
commit 1fec496f38
3 changed files with 22 additions and 4 deletions
@@ -91,6 +91,7 @@ in
(if i.useDHCP != null then i.useDHCP else cfg.useDHCP && interfaceIps i == [ ]));
address = flip map (interfaceIps i)
(ip: "${ip.address}/${toString ip.prefixLength}");
networkConfig.IPv6PrivacyExtensions = "kernel";
} ];
})))
(mkMerge (flip mapAttrsToList cfg.bridges (name: bridge: {