summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/ymir.nix b/ymir.nix
index 5caa51b9..58430306 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -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 {