Skip to content

Kea

services.kea.ctrl-agent

Kea Control Agent configuration

Type: submodule

Default

{ }

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

services.kea.ctrl-agent.configFile

Kea Control Agent configuration as a path, see https://kea.readthedocs.io/en/kea-2.6.0/arm/agent.html.

Takes preference over settings. Most users should prefer using settings instead.

Type: null or path

Default

null

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

services.kea.ctrl-agent.enable

Whether to enable Kea Control Agent. Type: boolean

Default

false

Example

true

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

services.kea.ctrl-agent.extraArgs

List of additional arguments to pass to the daemon.

Type: list of string

Default

[ ]

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

services.kea.ctrl-agent.settings

Kea Control Agent configuration as an attribute set, see https://kea.readthedocs.io/en/kea-2.6.0/arm/agent.html.

Type: JSON value

Default

null

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

services.kea.dhcp-ddns

Kea DHCP-DDNS configuration

Type: submodule

Default

{ }

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

services.kea.dhcp-ddns.configFile

Kea DHCP-DDNS configuration as a path, see https://kea.readthedocs.io/en/kea-2.6.0/arm/ddns.html.

Takes preference over settings. Most users should prefer using settings instead.

Type: null or path

Default

null

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

services.kea.dhcp-ddns.enable

Whether to enable Kea DDNS server. Type: boolean

Default

false

Example

true

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

services.kea.dhcp-ddns.extraArgs

List of additional arguments to pass to the daemon.

Type: list of string

Default

[ ]

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

services.kea.dhcp-ddns.settings

Kea DHCP-DDNS configuration as an attribute set, see https://kea.readthedocs.io/en/kea-2.6.0/arm/ddns.html.

Type: JSON value

Default

null

Example

{dns-server-timeout = 100;forward-ddns = {ddns-domains = [ ];};ip-address = "127.0.0.1";ncr-format = "JSON";ncr-protocol = "UDP";port = 53001;reverse-ddns = {ddns-domains = [ ];};tsig-keys = [ ];}

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

services.kea.dhcp4

DHCP4 Server configuration

Type: submodule

Default

{ }

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

services.kea.dhcp4.configFile

Kea DHCP4 configuration as a path, see https://kea.readthedocs.io/en/kea-2.6.0/arm/dhcp4-srv.html.

Takes preference over settings. Most users should prefer using settings instead.

Type: null or path

Default

null

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

services.kea.dhcp4.enable

Whether to enable Kea DHCP4 server. Type: boolean

Default

false

Example

true

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

services.kea.dhcp4.extraArgs

List of additional arguments to pass to the daemon.

Type: list of string

Default

[ ]

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

services.kea.dhcp4.settings

Kea DHCP4 configuration as an attribute set, see https://kea.readthedocs.io/en/kea-2.6.0/arm/dhcp4-srv.html.

Type: JSON value

Default

null

Example

{interfaces-config = {interfaces = ["eth0"];};lease-database = {name = "/var/lib/kea/dhcp4.leases";persist = true;type = "memfile";};rebind-timer = 2000;renew-timer = 1000;subnet4 = [{pools = [{pool = "192.0.2.100 - 192.0.2.240";}];subnet = "192.0.2.0/24";}];valid-lifetime = 4000;}

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

services.kea.dhcp6

DHCP6 Server configuration

Type: submodule

Default

{ }

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

services.kea.dhcp6.configFile

Kea DHCP6 configuration as a path, see https://kea.readthedocs.io/en/kea-2.6.0/arm/dhcp6-srv.html.

Takes preference over settings. Most users should prefer using settings instead.

Type: null or path

Default

null

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

services.kea.dhcp6.enable

Whether to enable Kea DHCP6 server. Type: boolean

Default

false

Example

true

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

services.kea.dhcp6.extraArgs

List of additional arguments to pass to the daemon.

Type: list of string

Default

[ ]

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

services.kea.dhcp6.settings

Kea DHCP6 configuration as an attribute set, see https://kea.readthedocs.io/en/kea-2.6.0/arm/dhcp6-srv.html.

Type: JSON value

Default

null

Example

{interfaces-config = {interfaces = ["eth0"];};lease-database = {name = "/var/lib/kea/dhcp6.leases";persist = true;type = "memfile";};preferred-lifetime = 3000;rebind-timer = 2000;renew-timer = 1000;subnet6 = [{pools = [{pool = "2001:db8:1::1-2001:db8:1::ffff";}];subnet = "2001:db8:1::/64";}];valid-lifetime = 4000;}

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