Skip to content

Anbox

virtualisation.anbox.enable

Whether to enable Anbox. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/anbox.nix

virtualisation.anbox.extraInit

Extra shell commands to be run inside the container image during init.

Type: strings concatenated with "\n"

Default

""

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/anbox.nix

virtualisation.anbox.image

Base android image for Anbox.

Type: package

Default

pkgs.anbox.image

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/anbox.nix

virtualisation.anbox.imageModifications

Commands to edit the image filesystem.

This can be used to e.g. bundle a privileged F-Droid.

Commands are ran with PWD being at the root of the filesystem.

Type: strings concatenated with "\n"

Default

""

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/anbox.nix

virtualisation.anbox.ipv4.container.address

IPv4 Container address.

Type: string

Default

"192.168.250.2"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/anbox.nix

virtualisation.anbox.ipv4.container.prefixLength

Subnet mask of the Container address, specified as the number of bits in the prefix (24).

Type: signed integer

Default

24

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/anbox.nix

virtualisation.anbox.ipv4.dns

Container DNS server.

Type: string

Default

"1.1.1.1"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/anbox.nix

virtualisation.anbox.ipv4.gateway.address

IPv4 Host address.

Type: string

Default

"192.168.250.1"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/anbox.nix

virtualisation.anbox.ipv4.gateway.prefixLength

Subnet mask of the Host address, specified as the number of bits in the prefix (24).

Type: signed integer

Default

24

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/anbox.nix