From 51a1c735428fd07efc4c7fbe6d7b909018b10e57 Mon Sep 17 00:00:00 2001 From: Jared Baur Date: Wed, 31 Aug 2022 17:04:18 -0700 Subject: nixos/systemd.network: Fix `ipv6RoutePrefixes` example The example doesn't have the top-level attribute `ipv6RoutePrefixConfig` in each attrset of the list. --- nixos/modules/system/boot/networkd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/system') diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index 71891ebbfefe..593f37c5c3d7 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -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 -- cgit 1.4.1