summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index 53dfd7c5..a4bef801 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -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 ({