Skip to content

Commit 392cebb

Browse files
committed
fix(networking): mkDefault tcp_mtu_probing
Jovian's steam module sets the semantically identical `true`; mkDefault avoids a duplicate-definition eval error.
1 parent 9b2f5c8 commit 392cebb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

modules/nixos/system/networking/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ in
109109
"net.ipv4.ip_local_port_range" = "16384 65535";
110110
"net.ipv4.tcp_max_syn_backlog" = 8192;
111111
"net.ipv4.tcp_max_tw_buckets" = 2000000;
112-
"net.ipv4.tcp_mtu_probing" = 1;
112+
# mkDefault so jovian's steam module (equivalent `true`) can merge cleanly
113+
"net.ipv4.tcp_mtu_probing" = lib.mkDefault 1;
113114
"net.ipv4.tcp_rmem" = "4096 1048576 16777216";
114115
"net.ipv4.tcp_slow_start_after_idle" = 0;
115116
"net.ipv4.tcp_tw_reuse" = 1;

0 commit comments

Comments
 (0)