Merge pull request #306926 from tie/networkd-global-ipv6-privacy-extensions

nixos/networkd: allow IPv6PrivacyExtensions in networkd.conf
This commit is contained in:
Florian Klink 2024-05-08 14:41:08 +03:00 committed by GitHub
commit ddf728e50b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -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" [