Geth
services.geth.<name>.authrpc.address
Listen address of Go Ethereum Auth RPC API.
Type: string
Default
"127.0.0.1"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.authrpc.enable
Whether to enable Go Ethereum Auth RPC API.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.authrpc.jwtsecret
Path to a JWT secret for authenticated RPC endpoint.
Type: string
Default
""
Example
"/var/run/geth/jwtsecret"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.authrpc.port
Port number of Go Ethereum Auth RPC API.
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/geth.nix
services.geth.<name>.authrpc.vhosts
List of virtual hostnames from which to accept requests.
Type: null or (list of string)
Default
["localhost"]
Example
["localhost""geth.example.org"]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.enable
Whether to enable Go Ethereum Node.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.extraArgs
Additional arguments passed to Go Ethereum.
Type: list of string
Default
[ ]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.gcmode
Blockchain garbage collection mode.
Type: one of "full", "archive"
Default
"full"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.http.address
Listen address of Go Ethereum HTTP API.
Type: string
Default
"127.0.0.1"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.http.apis
APIs to enable over WebSocket
Type: null or (list of string)
Default
null
Example
["net""eth"]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.http.enable
Whether to enable Go Ethereum HTTP API.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.http.port
Port number of Go Ethereum HTTP API.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
8545
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.maxpeers
Maximum peers to connect to.
Type: signed integer
Default
50
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.metrics.address
Listen address of Go Ethereum metrics service.
Type: string
Default
"127.0.0.1"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.metrics.enable
Whether to enable Go Ethereum prometheus metrics.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.metrics.port
Port number of Go Ethereum metrics service.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
6060
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.network
The network to connect to. Mainnet (null) is the default ethereum network.
Type: null or one of "goerli", "rinkeby", "yolov2", "ropsten"
Default
null
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.package
The geth package to use.
Type: package
Default
pkgs.go-ethereum.geth
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.port
Port number Go Ethereum will be listening on, both TCP and UDP.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
30303
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.syncmode
Blockchain sync mode.
Type: one of "snap", "fast", "full", "light"
Default
"snap"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.websocket.address
Listen address of Go Ethereum WebSocket API.
Type: string
Default
"127.0.0.1"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.websocket.apis
APIs to enable over WebSocket
Type: null or (list of string)
Default
null
Example
["net""eth"]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.websocket.enable
Whether to enable Go Ethereum WebSocket API.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix
services.geth.<name>.websocket.port
Port number of Go Ethereum WebSocket API.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
8546
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/blockchain/ethereum/geth.nix