Skip to content

Commit e383460

Browse files
authored
nixos/networkd: add dhcpServerConfig.PersistLeases option (#353189)
2 parents e5a4cc8 + 42ac7b2 commit e383460

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nixos/modules/system/boot/networkd.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,6 +1039,7 @@ let
10391039
"BootServerName"
10401040
"BootFilename"
10411041
"IPv6OnlyPreferredSec"
1042+
"PersistLeases"
10421043
])
10431044
(assertInt "PoolOffset")
10441045
(assertMinimum "PoolOffset" 0)
@@ -1053,6 +1054,7 @@ let
10531054
(assertValueOneOf "EmitRouter" boolValues)
10541055
(assertValueOneOf "EmitTimezone" boolValues)
10551056
(assertValueOneOf "BindToInterface" boolValues)
1057+
(assertValueOneOf "PersistLeases" boolValues)
10561058
];
10571059

10581060
sectionIPv6SendRA = checkUnitConfig "IPv6SendRA" [

0 commit comments

Comments
 (0)