summary refs log tree commit diff
path: root/nixos/modules/tasks/network-interfaces-systemd.nix
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2018-02-01 12:13:17 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2018-02-01 13:14:09 +0100
commit1fec496f384c53df39684035bafb482865d3eff8 (patch)
tree1f039633aefac6088ace42873aff4bbf77b18302 /nixos/modules/tasks/network-interfaces-systemd.nix
parentce08581088897860dd3b7b510f30b093095592f3 (diff)
downloadnixpkgs-1fec496f384c53df39684035bafb482865d3eff8.tar
nixpkgs-1fec496f384c53df39684035bafb482865d3eff8.tar.gz
nixpkgs-1fec496f384c53df39684035bafb482865d3eff8.tar.bz2
nixpkgs-1fec496f384c53df39684035bafb482865d3eff8.tar.lz
nixpkgs-1fec496f384c53df39684035bafb482865d3eff8.tar.xz
nixpkgs-1fec496f384c53df39684035bafb482865d3eff8.tar.zst
nixpkgs-1fec496f384c53df39684035bafb482865d3eff8.zip
nixos/networking-interfaces: add preferTempAddress option
Diffstat (limited to 'nixos/modules/tasks/network-interfaces-systemd.nix')
-rw-r--r--nixos/modules/tasks/network-interfaces-systemd.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/tasks/network-interfaces-systemd.nix b/nixos/modules/tasks/network-interfaces-systemd.nix
index 5d72ad0f1bd..be7f52a76de 100644
--- a/nixos/modules/tasks/network-interfaces-systemd.nix
+++ b/nixos/modules/tasks/network-interfaces-systemd.nix
@@ -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: {