summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/vidhar/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix
index 568faac3..ada38bab 100644
--- a/hosts/vidhar/default.nix
+++ b/hosts/vidhar/default.nix
@@ -146,6 +146,9 @@
146 "net.ipv6.conf.default.forwarding" = true; 146 "net.ipv6.conf.default.forwarding" = true;
147 "net.ipv4.conf.all.forwarding" = true; 147 "net.ipv4.conf.all.forwarding" = true;
148 "net.ipv4.conf.default.forwarding" = true; 148 "net.ipv4.conf.default.forwarding" = true;
149
150 "net.core.rmem_max" = "4194304";
151 "net.core.wmem_max" = "4194304";
149 }; 152 };
150 systemd.network.networks = { 153 systemd.network.networks = {
151 "eno2" = { 154 "eno2" = {
@@ -291,6 +294,8 @@
291 294
292 so-rcvbuf = "4m"; 295 so-rcvbuf = "4m";
293 so-sndbuf = "4m"; 296 so-sndbuf = "4m";
297
298 cache-max-ttl = 3600:
294 }; 299 };
295 }; 300 };
296 }; 301 };