mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
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:
parent
c520c086d7
commit
42ac7b2428
@ -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" [
|
||||
|
Loading…
Reference in New Issue
Block a user