Skip to content

Ergo

services.ergo.api.keyHash

Hex-encoded Blake2b256 hash of an API key as a 64-chars long Base16 string. Type: null or string

Default

null

Example

"324dcf027dd4a30a932c441f365a25e86b173defa4b8e58948253471b81b72cf"

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

services.ergo.api.listen.ip

IP address that the Ergo node API should listen on if {option}api.keyHash is defined. Type: string

Default

"0.0.0.0"

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

services.ergo.api.listen.port

Listen port for the API endpoint if {option}api.keyHash is defined. Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

9052

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

services.ergo.dataDir

The data directory for the Ergo node. Type: path

Default

"/var/lib/ergo"

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

services.ergo.enable

Whether to enable Ergo service. Type: boolean

Default

false

Example

true

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

services.ergo.group

The group as which to run the Ergo node. Type: string

Default

config.services.ergo.user

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

services.ergo.listen.ip

IP address on which the Ergo node should listen. Type: string

Default

"0.0.0.0"

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

services.ergo.listen.port

Listen port for the Ergo node. Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

9006

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

services.ergo.openFirewall

Open ports in the firewall for the Ergo node as well as the API. Type: boolean

Default

false

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

services.ergo.testnet

Connect to testnet network instead of the default mainnet. Type: boolean

Default

false

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

services.ergo.user

The user as which to run the Ergo node. Type: string

Default

"ergo"

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