diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2018-02-01 12:13:17 +0100 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2018-02-01 13:14:09 +0100 |
commit | 1fec496f384c53df39684035bafb482865d3eff8 (patch) | |
tree | 1f039633aefac6088ace42873aff4bbf77b18302 /nixos/modules/system/boot | |
parent | ce08581088897860dd3b7b510f30b093095592f3 (diff) | |
download | nixlib-1fec496f384c53df39684035bafb482865d3eff8.tar nixlib-1fec496f384c53df39684035bafb482865d3eff8.tar.gz nixlib-1fec496f384c53df39684035bafb482865d3eff8.tar.bz2 nixlib-1fec496f384c53df39684035bafb482865d3eff8.tar.lz nixlib-1fec496f384c53df39684035bafb482865d3eff8.tar.xz nixlib-1fec496f384c53df39684035bafb482865d3eff8.tar.zst nixlib-1fec496f384c53df39684035bafb482865d3eff8.zip |
nixos/networking-interfaces: add preferTempAddress option
Diffstat (limited to 'nixos/modules/system/boot')
-rw-r--r-- | nixos/modules/system/boot/networkd.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index 9d2cea3ad165..23b725aaa357 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -94,7 +94,7 @@ let checkNetwork = checkUnitConfig "Network" [ (assertOnlyFields [ "Description" "DHCP" "DHCPServer" "IPForward" "IPMasquerade" "IPv4LL" "IPv4LLRoute" - "LLMNR" "MulticastDNS" "Domains" "Bridge" "Bond" + "LLMNR" "MulticastDNS" "Domains" "Bridge" "Bond" "IPv6PrivacyExtensions" ]) (assertValueOneOf "DHCP" ["both" "none" "v4" "v6"]) (assertValueOneOf "DHCPServer" boolValues) @@ -104,6 +104,7 @@ let (assertValueOneOf "IPv4LLRoute" boolValues) (assertValueOneOf "LLMNR" boolValues) (assertValueOneOf "MulticastDNS" boolValues) + (assertValueOneOf "IPv6PrivacyExtensions" ["yes" "no" "prefer-public" "kernel"]) ]; checkAddress = checkUnitConfig "Address" [ |