14 lines
360 B
Nix
14 lines
360 B
Nix
{ config, pkgs, ... }: {
|
|
networking.hostName = "benq-serv";
|
|
networking.networkmanager.enable = true;
|
|
|
|
networking.firewall.allowedTCPPorts = [ 22 80 443 ];
|
|
networking.firewall.allowedUDPPorts = [];
|
|
|
|
boot.kernelModules = [ "tcp_bbr" ];
|
|
boot.kernel.sysctl = {
|
|
"net.ipv4.tcp_congestion_control" = "bbr";
|
|
"net.core.default_qdisc" = "fq";
|
|
};
|
|
}
|