nixos/networkd: add DHCPv4 - IPv6OnlyMode toggle (#343605)

This commit is contained in:
h7x4 2024-10-01 01:33:24 +02:00 committed by GitHub
commit 0d67767718
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -855,6 +855,7 @@ let
"UseGateway"
"UseRoutes"
"UseTimezone"
"IPv6OnlyMode"
"ClientIdentifier"
"VendorClassIdentifier"
"UserClass"
@ -888,6 +889,7 @@ let
(assertValueOneOf "UseGateway" boolValues)
(assertValueOneOf "UseRoutes" boolValues)
(assertValueOneOf "UseTimezone" boolValues)
(assertValueOneOf "IPv6OnlyMode" boolValues)
(assertValueOneOf "ClientIdentifier" ["mac" "duid" "duid-only"])
(assertInt "IAID")
(assertValueOneOf "RequestBroadcast" boolValues)