mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
nixos/networkd: add missing UseGateway key in the DHCPv4 section
This commit is contained in:
parent
e65193c59a
commit
4c26c97d21
|
@ -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"])
|
||||
|
|
Loading…
Reference in a new issue