summaryrefslogtreecommitdiff
path: root/hosts/vidhar
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-12-26 12:44:05 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-12-26 12:44:05 +0100
commitb77f30ed1fb4ca7dd4fb6e0df82682d891ebcfd7 (patch)
tree960105de419b668ddfde297de355d7913f6781e7 /hosts/vidhar
parent40a81be49f78c3d1cc7ef322b175edc658399158 (diff)
downloadnixos-b77f30ed1fb4ca7dd4fb6e0df82682d891ebcfd7.tar
nixos-b77f30ed1fb4ca7dd4fb6e0df82682d891ebcfd7.tar.gz
nixos-b77f30ed1fb4ca7dd4fb6e0df82682d891ebcfd7.tar.bz2
nixos-b77f30ed1fb4ca7dd4fb6e0df82682d891ebcfd7.tar.xz
nixos-b77f30ed1fb4ca7dd4fb6e0df82682d891ebcfd7.zip
vidhar: ...
Diffstat (limited to 'hosts/vidhar')
-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 };