MyNixOS website logo

Virtual networks to which the VM is connected. Each number «N» in this list causes the VM to have a virtual Ethernet interface attached to a separate virtual network on which it will be assigned IP address 192.168.«N».«M», where «M» is the index of this VM in the list of VMs.

Declarations
Type
list of (unsigned integer, meaning >=0)
Default
if config.virtualisation.interfaces == {} then [ 1 ] else [ ]
Example
[
  1
  2
]