about summary refs log tree commit diff
path: root/modules/ipfs.nix
diff options
context:
space:
mode:
authorazahi <azat@bahawi.net>2024-10-21 14:22:29 +0300
committerazahi <azat@bahawi.net>2024-10-21 14:22:29 +0300
commit5c92aab0c7dde0729484f8878a8ebf05e5fc79ab (patch)
treeb76a1ce5c577d28d4a69738d3213fcf1ee0e3394 /modules/ipfs.nix
parent2024-10-17 (diff)
2024-10-21
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