2024-07-09 23:12:02 +00:00
|
|
|
{
|
|
|
|
services.resolved.enable = true;
|
|
|
|
|
2024-10-20 06:43:42 +00:00
|
|
|
# FIXME: for some reason nslookup is not working
|
|
|
|
networking.nameservers = [
|
|
|
|
"223.5.5.5"
|
|
|
|
"223.6.6.6"
|
|
|
|
];
|
|
|
|
|
2024-07-09 23:12:02 +00:00
|
|
|
### https://wiki.archlinux.org/title/Sysctl#Improving_performance
|
2024-08-25 15:02:35 +00:00
|
|
|
boot.kernelModules = [ "tcp_bbr" ];
|
2024-07-09 23:12:02 +00:00
|
|
|
boot.kernel.sysctl = {
|
|
|
|
"net.core.default_qdisc" = "cake";
|
|
|
|
"net.ipv4.tcp_congestion_control" = "bbr";
|
2024-11-07 06:59:13 +00:00
|
|
|
|
|
|
|
# https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes
|
|
|
|
"net.core.rmem_max" = 7500000;
|
|
|
|
"net.core.wmem_max" = 7500000;
|
2024-07-09 23:12:02 +00:00
|
|
|
};
|
|
|
|
}
|