mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/networkd: add DHCPv4 - IPv6OnlyMode toggle
The option was introduced in systemd version 255. https://www.freedesktop.org/software/systemd/man/latest/systemd.network.html#IPv6OnlyMode=
This commit is contained in:
parent
268bb5090a
commit
342a47f9bc
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue