From 806f8a090c6e6fe3439c9ac40a2c3e772ff2511d Mon Sep 17 00:00:00 2001 From: Alexandru Tocar Date: Tue, 9 Dec 2025 02:26:57 +0100 Subject: [PATCH] nixos/networkd: allow "runtime" as a valid value for dhcpServerConfig.PersistLeases --- nixos/modules/system/boot/networkd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index ef037b816156..e2dafe2a1715 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -1281,7 +1281,7 @@ let (assertValueOneOf "EmitRouter" boolValues) (assertValueOneOf "EmitTimezone" boolValues) (assertValueOneOf "BindToInterface" boolValues) - (assertValueOneOf "PersistLeases" boolValues) + (assertValueOneOf "PersistLeases" boolValues ++ [ "runtime" ]) ]; sectionIPv6SendRA = checkUnitConfig "IPv6SendRA" [