athens/modules/ipfs/cluster.nix

22 lines
367 B
Nix
Raw Normal View History

2021-10-30 23:33:26 -04:00
{ config, lib, pkgs, ... }:
{
imports = [ ./default.nix ];
services = {
ipfs = {
enable = true;
extraConfig = {
Swarm = {
AddrFilters = null;
ConnMgr = {
Type = "basic";
LowWater = 25;
HighWater = 50;
GracePeriod = "1m0s";
};
};
};
};
};
}