Skip to content

Xen

virtualisation.xen.bootParams

Parameters passed to the Xen hypervisor at boot time.

Type: list of string

Default

[ ]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/xen-dom0.nix

virtualisation.xen.bridge.address

IPv4 address of the bridge.

Type: string

Default

"172.16.0.1"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/xen-dom0.nix

virtualisation.xen.bridge.forwardDns

If set to true, the DNS queries from the hosts connected to the bridge will be forwarded to the DNS servers specified in /etc/resolv.conf .

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/xen-dom0.nix

virtualisation.xen.bridge.name

Name of bridge the Xen domUs connect to.

Type: string

Default

"xenbr0"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/xen-dom0.nix

virtualisation.xen.bridge.prefixLength

Subnet mask of the bridge interface, specified as the number of bits in the prefix (24). A DHCP server will provide IP addresses for the whole, remaining subnet.

Type: signed integer

Default

16

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/xen-dom0.nix

virtualisation.xen.domain0MemorySize

Amount of memory (in MiB) allocated to Domain 0 on boot. If set to 0, all memory is assigned to Domain 0.

Type: signed integer

Default

0

Example

512

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/xen-dom0.nix

virtualisation.xen.domains.extraConfig

Options defined here will override the defaults for xendomains. The default options can be seen in the file included from /etc/default/xendomains.

Type: strings concatenated with "\n"

Default

""

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/xen-dom0.nix

virtualisation.xen.enable

Setting this option enables the Xen hypervisor, a virtualisation technology that allows multiple virtual machines, known as domains, to run concurrently on the physical machine. NixOS runs as the privileged Domain 0. This option requires a reboot to take effect.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/xen-dom0.nix

virtualisation.xen.package

The package used for Xen binary.

Type: package

Default

pkgs.xen

Example

pkgs.xen-light

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/xen-dom0.nix

virtualisation.xen.package-qemu

The package with qemu binaries for dom0 qemu and xendomains.

Type: package

Default

pkgs.xen

Example

pkgs.qemu_xen-light

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/xen-dom0.nix

virtualisation.xen.stored

Xen Store daemon to use. Defaults to oxenstored of the xen package.

Type: path

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/xen-dom0.nix

virtualisation.xen.trace

Whether to enable Xen tracing. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/xen-dom0.nix