tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ipfs: increase UDP buffer size
happysalada
4 years ago
977ac07f
54dbdcbc
+3
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
network-filesystems
ipfs.nix
+3
nixos/modules/services/network-filesystems/ipfs.nix
···
192
environment.systemPackages = [ cfg.package ];
193
environment.variables.IPFS_PATH = cfg.dataDir;
194
0
0
0
195
programs.fuse = mkIf cfg.autoMount {
196
userAllowOther = true;
197
};
···
192
environment.systemPackages = [ cfg.package ];
193
environment.variables.IPFS_PATH = cfg.dataDir;
194
195
+
# https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size
196
+
boot.kernel.sysctl."net.core.rmem_max" = mkDefault 2500000;
197
+
198
programs.fuse = mkIf cfg.autoMount {
199
userAllowOther = true;
200
};