Skip to content

Commit 8b21fa3

Browse files
committed
feat(modules/geth): Add discovery.port option
1 parent db3f725 commit 8b21fa3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

modules/geth/args.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,4 +212,12 @@ with lib; {
212212
default = true;
213213
description = mdDoc "Enables snapshot-database mode";
214214
};
215+
216+
discovery = {
217+
port = mkOption {
218+
type = types.port;
219+
default = 30303;
220+
description = mdDoc "Use a custom UDP port for P2P discovery.";
221+
};
222+
};
215223
}

0 commit comments

Comments
 (0)