diff options
author | Christian Kögler <ck3d@gmx.de> | 2022-08-04 23:02:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 23:02:40 +0200 |
commit | 04d94dc8ff19e2dc32fb0f127bdbc62e5c806343 (patch) | |
tree | ee2cdf3142ca9dbe83fdd7a730fc8370ef7fd1d0 /nixos/modules | |
parent | e686431c2979903b97e17dfdee73c2f7591007a5 (diff) | |
parent | 51adf865a37c8896cfc3c17ce33c36a0357f2195 (diff) | |
download | nixpkgs-04d94dc8ff19e2dc32fb0f127bdbc62e5c806343.tar nixpkgs-04d94dc8ff19e2dc32fb0f127bdbc62e5c806343.tar.gz nixpkgs-04d94dc8ff19e2dc32fb0f127bdbc62e5c806343.tar.bz2 nixpkgs-04d94dc8ff19e2dc32fb0f127bdbc62e5c806343.tar.lz nixpkgs-04d94dc8ff19e2dc32fb0f127bdbc62e5c806343.tar.xz nixpkgs-04d94dc8ff19e2dc32fb0f127bdbc62e5c806343.tar.zst nixpkgs-04d94dc8ff19e2dc32fb0f127bdbc62e5c806343.zip |
Merge pull request #183897 from amarshall/networkd-fix-ipv6prefixes-example
nixos/networkd: Fix some invalid examples
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/system/boot/networkd.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index b006ce77454..ba335bcd769 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -1388,7 +1388,7 @@ let dhcpServerStaticLeases = mkOption { default = []; - example = [ { MACAddress = "65:43:4a:5b:d8:5f"; Address = "192.168.1.42"; } ]; + example = [ { dhcpServerStaticLeaseConfig = { MACAddress = "65:43:4a:5b:d8:5f"; Address = "192.168.1.42"; }; } ]; type = with types; listOf (submodule dhcpServerStaticLeaseOptions); description = '' A list of DHCPServerStaticLease sections to be added to the unit. See @@ -1399,7 +1399,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 |