networking.interfaces
The configuration for each network interface.
Please note that systemd.network.netdevs has more features
and is better maintained. When building new things, it is advised to
use that instead.
- Type
attribute set of (submodule)- Default
{ }- Example
{ eth0 = { ipv4 = { addresses = [ { address = "131.211.84.78"; prefixLength = 25; } ]; }; }; }- Declared
- <nixpkgs/nixos/modules/tasks/network-interfaces.nix>