networking.dhcpcd.denyInterfaces

NixOS option

Disable the DHCP client for any interface whose name matches any of the shell glob patterns in this list. The purpose of this option is to blacklist virtual interfaces such as those created by Xen, libvirt, LXC, etc.

type: list of string
Default
[ ]
declared in: nixos/modules/services/networking/dhcpcd.nixView source on NixOS/nixpkgs →