diff options
| -rw-r--r-- | ymir.nix | 8 |
1 files changed, 5 insertions, 3 deletions
| @@ -18,9 +18,11 @@ in { | |||
| 18 | device = "/dev/vda"; | 18 | device = "/dev/vda"; |
| 19 | }; | 19 | }; |
| 20 | 20 | ||
| 21 | boot.kernel.sysctl."net.ipv4.tcp_keepalive_time" = 60; | 21 | boot.kernel.sysctl = { |
| 22 | boot.kernel.sysctl."net.ipv4.tcp_keepalive_intvl" = 10; | 22 | "net.ipv4.tcp_keepalive_time" = 60; |
| 23 | boot.kernel.sysctl."net.ipv4.tcp_keepalive_probes" = 6; | 23 | "net.ipv4.tcp_keepalive_intvl" = 10; |
| 24 | "net.ipv4.tcp_keepalive_probes" = 6; | ||
| 25 | }; | ||
| 24 | 26 | ||
| 25 | nixpkgs.config.packageOverrides = pkgs: | 27 | nixpkgs.config.packageOverrides = pkgs: |
| 26 | rec { | 28 | rec { |
