aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/nixos/modules/tasks/network-interfaces-systemd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/nixos/modules/tasks/network-interfaces-systemd.nix')
-rw-r--r--infra/libkookie/nixpkgs/nixos/modules/tasks/network-interfaces-systemd.nix12
1 files changed, 1 insertions, 11 deletions
diff --git a/infra/libkookie/nixpkgs/nixos/modules/tasks/network-interfaces-systemd.nix b/infra/libkookie/nixpkgs/nixos/modules/tasks/network-interfaces-systemd.nix
index 088bffd7c508..23e1e611a71e 100644
--- a/infra/libkookie/nixpkgs/nixos/modules/tasks/network-interfaces-systemd.nix
+++ b/infra/libkookie/nixpkgs/nixos/modules/tasks/network-interfaces-systemd.nix
@@ -93,17 +93,7 @@ in
(if i.useDHCP != null then i.useDHCP else false));
address = forEach (interfaceIps i)
(ip: "${ip.address}/${toString ip.prefixLength}");
- # IPv6PrivacyExtensions=kernel seems to be broken with networkd.
- # Instead of using IPv6PrivacyExtensions=kernel, configure it according to the value of
- # `tempAddress`:
- networkConfig.IPv6PrivacyExtensions = {
- # generate temporary addresses and use them by default
- "default" = true;
- # generate temporary addresses but keep using the standard EUI-64 ones by default
- "enabled" = "prefer-public";
- # completely disable temporary addresses
- "disabled" = false;
- }.${i.tempAddress};
+ networkConfig.IPv6PrivacyExtensions = "kernel";
linkConfig = optionalAttrs (i.macAddress != null) {
MACAddress = i.macAddress;
} // optionalAttrs (i.mtu != null) {