about summary refs log tree commit diff
path: root/nixos/modules/services/network-filesystems
diff options
context:
space:
mode:
authorLuflosi <luflosi@luflosi.de>2023-03-22 16:26:51 +0100
committerLuflosi <luflosi@luflosi.de>2023-03-22 20:02:56 +0100
commitef9c99a035aea4b828324abe686210460a8cfd9e (patch)
tree5099712be35844f6c4e097cafa77cf6c64468d82 /nixos/modules/services/network-filesystems
parentcece2880925ae3ef222953859a37055919489474 (diff)
downloadnixlib-ef9c99a035aea4b828324abe686210460a8cfd9e.tar
nixlib-ef9c99a035aea4b828324abe686210460a8cfd9e.tar.gz
nixlib-ef9c99a035aea4b828324abe686210460a8cfd9e.tar.bz2
nixlib-ef9c99a035aea4b828324abe686210460a8cfd9e.tar.lz
nixlib-ef9c99a035aea4b828324abe686210460a8cfd9e.tar.xz
nixlib-ef9c99a035aea4b828324abe686210460a8cfd9e.tar.zst
nixlib-ef9c99a035aea4b828324abe686210460a8cfd9e.zip
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.
Diffstat (limited to 'nixos/modules/services/network-filesystems')
-rw-r--r--nixos/modules/services/network-filesystems/kubo.nix4
1 files changed, 4 insertions, 0 deletions
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";
             };