all: set ipv6 tcp keepalive to 60
This commit is contained in:
parent
71cfdbaa23
commit
088c65a287
@ -111,7 +111,10 @@ in {
|
|||||||
boot = {
|
boot = {
|
||||||
cleanTmpDir = true;
|
cleanTmpDir = true;
|
||||||
kernelPackages = lib.mkDefault pkgs.linuxPackages_hardened;
|
kernelPackages = lib.mkDefault pkgs.linuxPackages_hardened;
|
||||||
kernel.sysctl = { "net.ipv4.tcp_keepalive_time" = 60; };
|
kernel.sysctl = {
|
||||||
|
"net.ipv4.tcp_keepalive_time" = 60;
|
||||||
|
"net.ipv6.tcp_keepalive_time" = 60;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs;
|
environment.systemPackages = with pkgs;
|
||||||
|
Loading…
Reference in New Issue
Block a user