athens/modules/ipfs/cluster.nix

22 lines
367 B
Nix

{ config, lib, pkgs, ... }:
{
imports = [ ./default.nix ];
services = {
ipfs = {
enable = true;
extraConfig = {
Swarm = {
AddrFilters = null;
ConnMgr = {
Type = "basic";
LowWater = 25;
HighWater = 50;
GracePeriod = "1m0s";
};
};
};
};
};
}