nixos/systemd.network: Fix ipv6RoutePrefixes example

The example doesn't have the top-level attribute `ipv6RoutePrefixConfig`
in each attrset of the list.
This commit is contained in:
Jared Baur 2022-08-31 17:04:18 -07:00
parent 9c48988907
commit 51a1c73542

View file

@ -1411,7 +1411,7 @@ let
ipv6RoutePrefixes = mkOption {
default = [];
example = [ { Route = "fd00::/64"; LifetimeSec = 3600; } ];
example = [ { ipv6RoutePrefixConfig = { Route = "fd00::/64"; LifetimeSec = 3600; }; } ];
type = with types; listOf (submodule ipv6RoutePrefixOptions);
description = ''
A list of ipv6RoutePrefix sections to be added to the unit. See