networking.macvlans

This option allows you to define macvlan interfaces which should be automatically created.

Type
attribute set of (submodule)
Default
{ }
Example
{
  wan = {
    interface = "enp2s0";
    mode = "vepa";
  };
}
Declared
<nixpkgs/nixos/modules/tasks/network-interfaces.nix>