diff options
author | Florian Klink <flokli@flokli.de> | 2024-05-08 14:41:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-08 14:41:08 +0300 |
commit | ddf728e50b84ff75a521b87d06c1d6fe97a69eae (patch) | |
tree | 31b6cb84070cee6d47665d1f923497dfba1a50a3 /nixos/modules/system | |
parent | 36888d20c945df575230b136ecb08f3915f2dbc7 (diff) | |
parent | 37a3ad0c01a099de366a42574fff9311fb1187fe (diff) |
Merge pull request #306926 from tie/networkd-global-ipv6-privacy-extensions
nixos/networkd: allow IPv6PrivacyExtensions in networkd.conf
Diffstat (limited to 'nixos/modules/system')
-rw-r--r-- | nixos/modules/system/boot/networkd.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index bb899c8d89994..7f53efbf83f5d 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -17,11 +17,13 @@ let "ManageForeignRoutingPolicyRules" "ManageForeignRoutes" "RouteTable" + "IPv6PrivacyExtensions" ]) (assertValueOneOf "SpeedMeter" boolValues) (assertInt "SpeedMeterIntervalSec") (assertValueOneOf "ManageForeignRoutingPolicyRules" boolValues) (assertValueOneOf "ManageForeignRoutes" boolValues) + (assertValueOneOf "IPv6PrivacyExtensions" (boolValues ++ ["prefer-public" "kernel"])) ]; sectionDHCPv4 = checkUnitConfig "DHCPv4" [ |