networking.vswitches
This option allows you to define Open vSwitches that connect physical networks together. The value of this option is an attribute set. Each attribute specifies a vswitch, with the attribute name specifying the name of the vswitch's network interface.
- Type
attribute set of (submodule)- Default
{ }- Example
{ vs0 = { interfaces = { eth0 = { }; lo1 = { type = "internal"; }; }; }; vs1 = { interfaces = [ { name = "eth2"; } { name = "lo2"; type = "internal"; } ]; }; }- Declared
- <nixpkgs/nixos/modules/tasks/network-interfaces.nix>