From 9f43444f0c8cc952efdb0ea8bb091eb6a708431e Mon Sep 17 00:00:00 2001 From: colin Date: Sun, 6 Nov 2022 03:30:43 -0800 Subject: [PATCH] ipfs: migrate settings did not explicitly test these --- machines/servo/services/ipfs.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/machines/servo/services/ipfs.nix b/machines/servo/services/ipfs.nix index bef97ab6..f9e7c907 100644 --- a/machines/servo/services/ipfs.nix +++ b/machines/servo/services/ipfs.nix @@ -14,18 +14,18 @@ ]; # services.ipfs.enable = true; services.kubo.localDiscovery = true; - services.kubo.swarmAddress = [ - # "/dns4/ipfs.uninsane.org/tcp/4001" - # "/ip4/0.0.0.0/tcp/4001" - "/dns4/ipfs.uninsane.org/udp/4001/quic" - "/ip4/0.0.0.0/udp/4001/quic" - ]; - services.kubo.extraConfig = { + services.kubo.settings = { Addresses = { Announce = [ # "/dns4/ipfs.uninsane.org/tcp/4001" "/dns4/ipfs.uninsane.org/udp/4001/quic" ]; + Swarm = [ + # "/dns4/ipfs.uninsane.org/tcp/4001" + # "/ip4/0.0.0.0/tcp/4001" + "/dns4/ipfs.uninsane.org/udp/4001/quic" + "/ip4/0.0.0.0/udp/4001/quic" + ]; }; Gateway = { # the gateway can only be used to serve content already replicated on this host