networking.useDHCP
Whether to use DHCP to obtain an IP address and other configuration for all network interfaces that do not have any manually configured IPv4 addresses.
- Type
boolean- Default
true- Declared
- <nixpkgs/nixos/modules/tasks/network-interfaces.nix>