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

View file

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