about summary refs log tree commit diff
path: root/modules/ipfs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ipfs.nix')
-rw-r--r--modules/ipfs.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/ipfs.nix b/modules/ipfs.nix
index 1e1d23f..25f7fce 100644
--- a/modules/ipfs.nix
+++ b/modules/ipfs.nix
@@ -144,6 +144,11 @@ in
         allowedUDPPorts = allowedTCPPorts;
       };
 
+      boot.kernel.sysctl = {
+        "net.core.rmem_max" = 7500000;
+        "net.core.wmem_max" = 7500000;
+      };
+
       topology = with cfg; {
         nodes.${this.hostname}.services.ipfs-kubo = {
           name = "IPFS Kubo";

Consider giving Nix/NixOS a try! <3