summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index 58430306..36b4d078 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -18,8 +18,9 @@ in {
18 device = "/dev/vda"; 18 device = "/dev/vda";
19 }; 19 };
20 20
21 boot.kernel.sysctl."net.ipv4.tcp_keepalive_time" = 60;
22
21 boot.kernel.sysctl = { 23 boot.kernel.sysctl = {
22 "net.ipv4.tcp_keepalive_time" = 60;
23 "net.ipv4.tcp_keepalive_intvl" = 10; 24 "net.ipv4.tcp_keepalive_intvl" = 10;
24 "net.ipv4.tcp_keepalive_probes" = 6; 25 "net.ipv4.tcp_keepalive_probes" = 6;
25 }; 26 };