Skip to content

Lighthouse

services.lighthouse.beacon

Beacon node Type: submodule

Default

{ }

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.beacon.address

Listen address of Beacon node.

Type: string

Default

"0.0.0.0"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.beacon.dataDir

Directory where data will be stored. Each chain will be stored under it's own specific subdirectory.

Type: string

Default

"/var/lib/lighthouse-beacon"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.beacon.disableDepositContractSync

Explicitly disables syncing of deposit logs from the execution node. This overrides any previous option that depends on it. Useful if you intend to run a non-validating beacon node.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.beacon.enable

Whether to enable Lightouse Beacon node. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.beacon.execution.address

Listen address for the execution layer.

Type: string

Default

"127.0.0.1"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.beacon.execution.jwtPath

Path for the jwt secret required to connect to the execution layer.

Type: string

Default

""

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.beacon.execution.port

Port number the Beacon node will be listening on for the execution layer.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

8551

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.beacon.extraArgs

Additional arguments passed to the lighthouse beacon command.

Type: string

Default

""

Example

""

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.beacon.http.address

Listen address of Beacon node RPC service.

Type: string

Default

"127.0.0.1"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.beacon.http.enable

Whether to enable Beacon node http api. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.beacon.http.port

Port number of Beacon node RPC service.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

5052

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.beacon.metrics.address

Listen address of Beacon node metrics service.

Type: string

Default

"127.0.0.1"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.beacon.metrics.enable

Whether to enable Beacon node prometheus metrics. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.beacon.metrics.port

Port number of Beacon node metrics service.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

5054

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.beacon.openFirewall

Open the port in the firewall

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.beacon.port

Port number the Beacon node will be listening on.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

9000

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.extraArgs

Additional arguments passed to every lighthouse command.

Type: string

Default

""

Example

""

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.network

The network to connect to. Mainnet is the default ethereum network.

Type: one of "mainnet", "gnosis", "chiado", "sepolia", "holesky"

Default

"mainnet"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.validator

Validator node Type: submodule

Default

{ }

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.validator.beaconNodes

Beacon nodes to connect to.

Type: list of string

Default

["http://localhost:5052"]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.validator.dataDir

Directory where data will be stored. Each chain will be stored under it's own specific subdirectory.

Type: string

Default

"/var/lib/lighthouse-validator"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.validator.enable

Enable Lightouse Validator node. Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.validator.extraArgs

Additional arguments passed to the lighthouse validator command.

Type: string

Default

""

Example

""

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.validator.metrics.address

Listen address of Validator node metrics service.

Type: string

Default

"127.0.0.1"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.validator.metrics.enable

Whether to enable Validator node prometheus metrics. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix

services.lighthouse.validator.metrics.port

Port number of Validator node metrics service.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

5056

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/lighthouse.nix