diff options
| -rw-r--r-- | ymir.nix | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -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 | }; |
