networking.vlans
This option allows you to define vlan devices that tag packets on top of a physical interface. The value of this option is an attribute set. Each attribute specifies a vlan, with the name specifying the name of the vlan interface.
- Type
attribute set of (submodule)- Default
{ }- Example
{ vlan0 = { id = 3; interface = "enp3s0"; }; vlan1 = { id = 1; interface = "wlan0"; }; }- Declared
- <nixpkgs/nixos/modules/tasks/network-interfaces.nix>