ipfs: fixup

This commit is contained in:
Sean Buckley 2022-05-06 16:54:30 -04:00
parent 674988c828
commit ebee9576a4
2 changed files with 5 additions and 8 deletions

View file

@ -17,17 +17,15 @@ in
serviceFdlimit = 65536;
extraConfig = {
AutoNAT.ServiceMode = "disabled"; # maybe "enabled" for servers?
Reprovider.Strategy = "pinned";
Routing.Type = "dhtclient"; # maybe "dht" for servers?
Swarm.ConnMgr.HighWater = 1000;
Swarm.ConnMgr.LowWater = 50;
Swarm.DisableNatPortMap = true; # Disable UPnP
# ipfs-desktop defaults for ConnMgr
Swarm.ConnMgr.GracePeriod = "1m";
Swarm.ConnMgr.HighWater = 40;
Swarm.ConnMgr.LowWater = 20;
};
};
systemd.services.ipfs.postStart = ''
chmod g+r /var/lib/ipfs/config
'';
};
}

View file

@ -21,7 +21,6 @@ in
"video"
"wheel"
"wireshark"
config.services.ipfs.group
];
openssh.authorizedKeys = { inherit keys; };
};