Merge pull request #330021 from ju1m/radicle-fix-node-listenAddress

nixos/radicle: fix node.listenAddress to support both IPv4 and IPv6
This commit is contained in:
Aleksana
2024-07-26 11:18:10 +08:00
committed by GitHub
+9 -1
View File
@@ -137,7 +137,7 @@ in
node = {
listenAddress = mkOption {
type = types.str;
default = "0.0.0.0";
default = "[::]";
example = "127.0.0.1";
description = "The IP address on which `radicle-node` listens.";
};
@@ -180,6 +180,14 @@ in
See https://app.radicle.xyz/nodes/seed.radicle.garden/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/tree/radicle/src/node/config.rs#L275
'';
default = { };
example = literalExpression ''
{
web.pinned.repositories = [
"rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5" # heartwood
"rad:z3trNYnLWS11cJWC6BbxDs5niGo82" # rips
];
}
'';
type = types.submodule {
freeformType = json.type;
};