We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4234aa2 commit 29d67b8Copy full SHA for 29d67b8
modules/nethermind/args.nix
@@ -61,6 +61,12 @@ with lib; {
61
description = "Defines whether the JSON RPC service is enabled on node startup.";
62
};
63
64
+ Host = mkOption {
65
+ type = types.str;
66
+ default = "127.0.0.1";
67
+ description = "Host for JSON RPC service calls.";
68
+ };
69
+
70
Port = mkOption {
71
type = types.either types.port (types.enum ["\${PORT}"]);
72
default = 8545;
modules/nethermind/default.nix
@@ -77,7 +77,7 @@ in {
77
description = "Nethermind Node (${nethermindName})";
78
79
environment = {
80
- WEB3_HTTP_HOST = cfg.args.modules.JsonRpc.EngineHost;
+ WEB3_HTTP_HOST = cfg.args.modules.JsonRpc.Host;
81
WEB3_HTTP_PORT = builtins.toString cfg.args.modules.JsonRpc.Port;
82
83
0 commit comments