about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorChristian Kögler <ck3d@gmx.de>2022-09-09 17:05:36 +0200
committerGitHub <noreply@github.com>2022-09-09 17:05:36 +0200
commitd44b9d665c10cd7c9cb1f95b9406a8fff6a7b9c5 (patch)
tree7d326e7612287883f5bad969592f20b70f1bc25b /nixos
parent0017614360fde2feecce7d0cc10678fb05b4c491 (diff)
parent51a1c735428fd07efc4c7fbe6d7b909018b10e57 (diff)
downloadnixlib-d44b9d665c10cd7c9cb1f95b9406a8fff6a7b9c5.tar
nixlib-d44b9d665c10cd7c9cb1f95b9406a8fff6a7b9c5.tar.gz
nixlib-d44b9d665c10cd7c9cb1f95b9406a8fff6a7b9c5.tar.bz2
nixlib-d44b9d665c10cd7c9cb1f95b9406a8fff6a7b9c5.tar.lz
nixlib-d44b9d665c10cd7c9cb1f95b9406a8fff6a7b9c5.tar.xz
nixlib-d44b9d665c10cd7c9cb1f95b9406a8fff6a7b9c5.tar.zst
nixlib-d44b9d665c10cd7c9cb1f95b9406a8fff6a7b9c5.zip
Merge pull request #189201 from jmbaur/ipv6-route-prefix-example
nixos/systemd.network: Fix `ipv6RoutePrefixes` example
Diffstat (limited to 'nixos')
-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 0b38a94c25fd..25e30c9303bd 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