nixos/networkd: add missing UseGateway key in the DHCPv4 section

This commit is contained in:
r-vdp 2024-02-23 17:37:38 +01:00
parent e65193c59a
commit 4c26c97d21
No known key found for this signature in database

View File

@ -797,6 +797,7 @@ let
"UseHostname"
"Hostname"
"UseDomains"
"UseGateway"
"UseRoutes"
"UseTimezone"
"ClientIdentifier"
@ -829,6 +830,7 @@ let
(assertValueOneOf "SendHostname" boolValues)
(assertValueOneOf "UseHostname" boolValues)
(assertValueOneOf "UseDomains" (boolValues ++ ["route"]))
(assertValueOneOf "UseGateway" boolValues)
(assertValueOneOf "UseRoutes" boolValues)
(assertValueOneOf "UseTimezone" boolValues)
(assertValueOneOf "ClientIdentifier" ["mac" "duid" "duid-only"])