nixos/networkd: add dhcpServerConfig.PersistLeases option

PersistLeases was added to networkd version 256 (https://www.freedesktop.org/software/systemd/man/latest/systemd.network.html#PersistLeases=)
This commit is contained in:
Matt Perlman 2024-11-02 12:53:02 -04:00
parent c520c086d7
commit 42ac7b2428

View File

@ -1033,6 +1033,7 @@ let
"BootServerName"
"BootFilename"
"IPv6OnlyPreferredSec"
"PersistLeases"
])
(assertInt "PoolOffset")
(assertMinimum "PoolOffset" 0)
@ -1047,6 +1048,7 @@ let
(assertValueOneOf "EmitRouter" boolValues)
(assertValueOneOf "EmitTimezone" boolValues)
(assertValueOneOf "BindToInterface" boolValues)
(assertValueOneOf "PersistLeases" boolValues)
];
sectionIPv6SendRA = checkUnitConfig "IPv6SendRA" [