about summary refs log tree commit diff
path: root/modules/shadowsocks.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/shadowsocks.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/shadowsocks.nix b/modules/shadowsocks.nix
index 1d55cf5..a70e2d1 100644
--- a/modules/shadowsocks.nix
+++ b/modules/shadowsocks.nix
@@ -127,8 +127,7 @@ in
       "net.ipv4.tcp_mem" = mkOverride 100 (mkTcpMem 15 16 17);
       "net.ipv4.tcp_rmem" = mkOverride 100 (mkTcpMem 12 16 26);
       "net.ipv4.tcp_wmem" = mkOverride 100 (mkTcpMem 12 16 26);
-      "net.ipv4.tcp_mtu_probing" = 1;
-      "net.ipv4.tcp_congestion_control" = "hybla";
+      "net.ipv4.tcp_mtu_probing" = mkOverride 100 1;
     };
 
     topology = with cfg; {

Consider giving Nix/NixOS a try! <3