2023-07-27 16:24:11 -04:00
|
|
|
_:
|
2021-06-21 22:44:03 -04:00
|
|
|
|
|
|
|
{
|
|
|
|
services = {
|
2022-10-07 06:19:56 -04:00
|
|
|
kubo = {
|
2021-06-21 22:44:03 -04:00
|
|
|
enable = true;
|
2022-10-30 23:04:36 -04:00
|
|
|
settings = {
|
2021-10-29 20:09:10 -04:00
|
|
|
Addresses = {
|
|
|
|
Announce = [ ];
|
2022-10-30 23:04:36 -04:00
|
|
|
API = "/ip4/0.0.0.0/tcp/5001";
|
|
|
|
Gateway = "/ip4/0.0.0.0/tcp/8080";
|
2021-10-29 20:09:10 -04:00
|
|
|
NoAnnounce = [ ];
|
2022-10-30 23:04:36 -04:00
|
|
|
Swarm = [
|
|
|
|
"/ip4/0.0.0.0/tcp/4001"
|
|
|
|
"/ip6/::/tcp/4001"
|
|
|
|
"/ip4/0.0.0.0/udp/4001/quic"
|
|
|
|
"/ip6/::/udp/4001/quic"
|
|
|
|
];
|
2021-10-29 20:09:10 -04:00
|
|
|
};
|
2024-12-07 20:46:15 -05:00
|
|
|
API = {
|
|
|
|
HTTPHeaders = {
|
|
|
|
Access-Control-Allow-Origin = [ "*" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
Routing = {
|
|
|
|
Type = "dht";
|
|
|
|
};
|
2021-06-21 22:44:03 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|