mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
nixos/manual: fixed example config for networking.interfaces
The former example gave a "value is a list while a set was expected" error.
This commit is contained in:
parent
1798563e62
commit
d69e0d99e0
|
@ -489,7 +489,7 @@ in
|
|||
networking.interfaces = mkOption {
|
||||
default = {};
|
||||
example =
|
||||
{ eth0.ipv4 = [ {
|
||||
{ eth0.ipv4.addresses = [ {
|
||||
address = "131.211.84.78";
|
||||
prefixLength = 25;
|
||||
} ];
|
||||
|
|
Loading…
Reference in a new issue