diff options
Diffstat (limited to 'ymir.nix')
-rw-r--r-- | ymir.nix | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -17,6 +17,12 @@ in { | |||
17 | device = "/dev/vda"; | 17 | device = "/dev/vda"; |
18 | }; | 18 | }; |
19 | 19 | ||
20 | boot.kernel.sysctl = { | ||
21 | "net.ipv4.tcp_keepalive_time" = 60; | ||
22 | "net.ipv4.tcp_keepalive_intvl" = 10; | ||
23 | "net.ipv4.tcp_keepalive_probes" = 6; | ||
24 | }; | ||
25 | |||
20 | nixpkgs.config.packageOverrides = pkgs: | 26 | nixpkgs.config.packageOverrides = pkgs: |
21 | rec { | 27 | rec { |
22 | prosody = pkgs.callPackage ./customized/prosody.nix ({ | 28 | prosody = pkgs.callPackage ./customized/prosody.nix ({ |