summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorJared Baur <jaredbaur@fastmail.com>2022-08-31 17:04:18 -0700
committerJared Baur <jaredbaur@fastmail.com>2022-08-31 17:04:18 -0700
commit51a1c735428fd07efc4c7fbe6d7b909018b10e57 (patch)
treed49e5e385be33ad1f1033c627d38192432490cc1 /nixos/modules/system
parent9c48988907a45f28f6e042e30cac4a79ef8be117 (diff)
downloadnixpkgs-51a1c735428fd07efc4c7fbe6d7b909018b10e57.tar
nixpkgs-51a1c735428fd07efc4c7fbe6d7b909018b10e57.tar.gz
nixpkgs-51a1c735428fd07efc4c7fbe6d7b909018b10e57.tar.bz2
nixpkgs-51a1c735428fd07efc4c7fbe6d7b909018b10e57.tar.lz
nixpkgs-51a1c735428fd07efc4c7fbe6d7b909018b10e57.tar.xz
nixpkgs-51a1c735428fd07efc4c7fbe6d7b909018b10e57.tar.zst
nixpkgs-51a1c735428fd07efc4c7fbe6d7b909018b10e57.zip
nixos/systemd.network: Fix `ipv6RoutePrefixes` example
The example doesn't have the top-level attribute `ipv6RoutePrefixConfig`
in each attrset of the list.
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/networkd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix
index 71891ebbfef..593f37c5c3d 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