From 6c710f5d04f0c403b12ce20d6752da0ee4ecd30b Mon Sep 17 00:00:00 2001 From: Martin Nikov Date: Wed, 17 Jan 2024 16:01:03 +0200 Subject: [PATCH] feat(modules/geth): Add `discovery.port` option --- modules/geth/args.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/geth/args.nix b/modules/geth/args.nix index cf3502bc..4142eece 100644 --- a/modules/geth/args.nix +++ b/modules/geth/args.nix @@ -206,4 +206,12 @@ with lib; { default = true; description = mdDoc "Enables snapshot-database mode"; }; + + discovery = { + port = mkOption { + type = types.port; + default = 30303; + description = mdDoc "Use a custom UDP port for P2P discovery."; + }; + }; }