0
0
Fork 0
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:
Franz Pletz 2024-11-30 06:54:07 +01:00 committed by GitHub
commit 4ab5e28e7a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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" [