From ef9c99a035aea4b828324abe686210460a8cfd9e Mon Sep 17 00:00:00 2001 From: Luflosi Date: Wed, 22 Mar 2023 16:26:51 +0100 Subject: [PATCH] nixos/kubo: add QUICv1 and WebTransport to Addresses.Swarm list According to https://github.com/ipfs/kubo/blob/v0.18.0/docs/config.md#addressesswarm, the default list of swarm multiaddrs includes QUICv1 and WebTransport since v0.18.0. More information can be found in the release notes at https://github.com/ipfs/kubo/releases/tag/v0.18.0. --- nixos/modules/services/network-filesystems/kubo.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/services/network-filesystems/kubo.nix b/nixos/modules/services/network-filesystems/kubo.nix index 4d423c905986..0cb0e126d4c5 100644 --- a/nixos/modules/services/network-filesystems/kubo.nix +++ b/nixos/modules/services/network-filesystems/kubo.nix @@ -171,7 +171,11 @@ in "/ip4/0.0.0.0/tcp/4001" "/ip6/::/tcp/4001" "/ip4/0.0.0.0/udp/4001/quic" + "/ip4/0.0.0.0/udp/4001/quic-v1" + "/ip4/0.0.0.0/udp/4001/quic-v1/webtransport" "/ip6/::/udp/4001/quic" + "/ip6/::/udp/4001/quic-v1" + "/ip6/::/udp/4001/quic-v1/webtransport" ]; description = lib.mdDoc "Where Kubo listens for incoming p2p connections"; };