ipfs: increase UDP buffer size

This commit is contained in:
happysalada
2021-08-31 09:50:59 +09:00
committed by Raphael Megzari
parent 54dbdcbcbb
commit 977ac07fed
@@ -192,6 +192,9 @@ in
environment.systemPackages = [ cfg.package ];
environment.variables.IPFS_PATH = cfg.dataDir;
# https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size
boot.kernel.sysctl."net.core.rmem_max" = mkDefault 2500000;
programs.fuse = mkIf cfg.autoMount {
userAllowOther = true;
};