🔧 ipfs config tweaks

This commit is contained in:
James Walker 2023-07-27 16:24:11 -04:00
parent 19a01e278e
commit 475792286d
Signed by: walkah
GPG Key ID: 3C127179D6086E93
3 changed files with 3 additions and 4 deletions

View File

@ -10,6 +10,7 @@
kubo = {
enable = true;
settings = {
Discovery = { MDNS = { Enabled = true; }; };
Swarm = {
AddrFilters = null;
ConnMgr = {

View File

@ -1,8 +1,6 @@
{ pkgs, ... }:
_:
{
environment.systemPackages = with pkgs; [ ipfs-migrator ];
services = {
kubo = {
enable = true;
@ -20,7 +18,6 @@
];
};
API = { HTTPHeaders = { Access-Control-Allow-Origin = [ "*" ]; }; };
Discovery = { MDNS = { Enabled = true; }; };
Routing = { Type = "dht"; };
};
};

View File

@ -36,6 +36,7 @@ in
kubo = {
enable = true;
settings = {
Discovery = { MDNS = { Enabled = false; }; };
Peering = { Peers = peers; };
Swarm = { AddrFilters = null; };
};