ipfs: migrate settings

did not explicitly test these
This commit is contained in:
colin 2022-11-06 03:30:43 -08:00
parent b68fd881e4
commit 9f43444f0c

View File

@ -14,18 +14,18 @@
]; ];
# services.ipfs.enable = true; # services.ipfs.enable = true;
services.kubo.localDiscovery = true; services.kubo.localDiscovery = true;
services.kubo.swarmAddress = [ services.kubo.settings = {
# "/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 = {
Addresses = { Addresses = {
Announce = [ Announce = [
# "/dns4/ipfs.uninsane.org/tcp/4001" # "/dns4/ipfs.uninsane.org/tcp/4001"
"/dns4/ipfs.uninsane.org/udp/4001/quic" "/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 = { Gateway = {
# the gateway can only be used to serve content already replicated on this host # the gateway can only be used to serve content already replicated on this host