Skip to content

Commit

Permalink
feat(modules/geth): Add discovery.port option
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinNikov committed Jan 17, 2024
1 parent 4072597 commit 6c710f5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/geth/args.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.";
};
};
}

0 comments on commit 6c710f5

Please sign in to comment.