Skip to content

Tayga

services.tayga.dataDir

Directory for persistent data. Type: path

Default

"/var/lib/tayga"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/tayga.nix

services.tayga.enable

Whether to enable Tayga. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/tayga.nix

services.tayga.ipv4

IPv4-specific configuration. Type: submodule

Example

{address = "192.0.2.0";router = {address = "192.0.2.1";};pool = {address = "192.0.2.1";prefixLength = 24;};}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/tayga.nix

services.tayga.ipv4.address

The source IPv4 address of the TAYGA server. Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/tayga.nix

services.tayga.ipv4.pool

The pool of IPv4 addresses which are used for translation. Type: null or (submodule)

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/tayga.nix

services.tayga.ipv4.pool.address

IPv4 address. Type: string

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/tayga.nix

services.tayga.ipv4.pool.prefixLength

Subnet mask of the interface, specified as the number of bits in the prefix ("24").

Type: signed integer

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/tayga.nix

services.tayga.ipv4.router.address

The IPv4 address of the router. Type: string

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/tayga.nix

services.tayga.ipv6

IPv6-specific configuration. Type: submodule

Example

{address = "2001:db8::1";router = {address = "64:ff9b::1";};pool = {address = "64:ff9b::";prefixLength = 96;};}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/tayga.nix

services.tayga.ipv6.address

The source IPv6 address of the TAYGA server. Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/tayga.nix

services.tayga.ipv6.pool

The pool of IPv6 addresses which are used for translation. Type: null or (submodule)

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/tayga.nix

services.tayga.ipv6.pool.address

IPv6 address. Type: string

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/tayga.nix

services.tayga.ipv6.pool.prefixLength

Subnet mask of the interface, specified as the number of bits in the prefix ("64").

Type: signed integer

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/tayga.nix

services.tayga.ipv6.router.address

The IPv6 address of the router. Type: string

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/tayga.nix

services.tayga.mappings

Static IPv4 -> IPv6 host mappings. Type: attribute set of string

Default

{ }

Example

{"192.168.5.42" = "2001:db8:1:4444::1";"192.168.5.43" = "2001:db8:1:4444::2";"192.168.255.2" = "2001:db8:1:569::143";}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/tayga.nix

services.tayga.package

The tayga package to use. Type: package

Default

pkgs.tayga

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/tayga.nix

services.tayga.tunDevice

Name of the nat64 tun device. Type: string

Default

"nat64"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/tayga.nix