nixos/networkd: Fix example for ipv6Prefixes 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 9cdcf2b364
commit a9fbd07f56

View File

@ -1397,7 +1397,7 @@ let
ipv6Prefixes = mkOption {
default = [];
example = [ { AddressAutoconfiguration = true; OnLink = true; } ];
example = [ { ipv6PrefixConfig = { AddressAutoconfiguration = true; OnLink = true; }; } ];
type = with types; listOf (submodule ipv6PrefixOptions);
description = ''
A list of ipv6Prefix sections to be added to the unit. See