mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
[Backport release-24.11] nixos/networkd: add dhcpServerConfig.PersistLeases option (#360311)
This commit is contained in:
commit
4ab5e28e7a
1 changed files with 2 additions and 0 deletions
|
@ -1039,6 +1039,7 @@ let
|
|||
"BootServerName"
|
||||
"BootFilename"
|
||||
"IPv6OnlyPreferredSec"
|
||||
"PersistLeases"
|
||||
])
|
||||
(assertInt "PoolOffset")
|
||||
(assertMinimum "PoolOffset" 0)
|
||||
|
@ -1053,6 +1054,7 @@ let
|
|||
(assertValueOneOf "EmitRouter" boolValues)
|
||||
(assertValueOneOf "EmitTimezone" boolValues)
|
||||
(assertValueOneOf "BindToInterface" boolValues)
|
||||
(assertValueOneOf "PersistLeases" boolValues)
|
||||
];
|
||||
|
||||
sectionIPv6SendRA = checkUnitConfig "IPv6SendRA" [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue