nixos/networkd: Fix example for dhcpServerStaticLeaseOptions option

The example was not valid, and would raise an error.
This commit is contained in:
Andrew Marshall 2022-07-30 00:44:02 -04:00
parent a9fbd07f56
commit 51adf865a3

View File

@ -1386,7 +1386,7 @@ let
dhcpServerStaticLeases = mkOption {
default = [];
example = [ { MACAddress = "65:43:4a:5b:d8:5f"; Address = "192.168.1.42"; } ];
example = [ { dhcpServerStaticLeaseConfig = { MACAddress = "65:43:4a:5b:d8:5f"; Address = "192.168.1.42"; }; } ];
type = with types; listOf (submodule dhcpServerStaticLeaseOptions);
description = ''
A list of DHCPServerStaticLease sections to be added to the unit. See