From 4d9dec0aba78a6fd3a00b051f6a42c98cdf286c0 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Sat, 8 Aug 2020 21:45:57 +0200 Subject: [PATCH] nixos/ipfs: add QUIC transport to swarmAddress list According to https://github.com/ipfs/go-ipfs/blob/master/docs/config.md#addressesswarm, the default list of swarm multiaddrs now includes the QUIC transport. --- nixos/modules/services/network-filesystems/ipfs.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/network-filesystems/ipfs.nix b/nixos/modules/services/network-filesystems/ipfs.nix index 7d18410ff0a..5c096d26d82 100644 --- a/nixos/modules/services/network-filesystems/ipfs.nix +++ b/nixos/modules/services/network-filesystems/ipfs.nix @@ -96,6 +96,8 @@ in { default = [ "/ip4/0.0.0.0/tcp/4001" "/ip6/::/tcp/4001" + "/ip4/0.0.0.0/udp/4001/quic" + "/ip6/::/udp/4001/quic" ]; description = "Where IPFS listens for incoming p2p connections"; };