mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 20:44:12 +00: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 New Issue
Block a user