{ ... }: { boot = { loader = { systemd-boot = { enable = true; # see https://www.man7.org/linux/man-pages/man5/loader.conf.5.html consoleMode = "max"; }; efi.canTouchEfiVariables = true; efi.efiSysMountPoint = "/boot/efi"; }; kernel.sysctl = { "net.ipv4.conf.all.forwarding" = true; "net.ipv4.conf.default.forwarding" = true; "net.core.default_qdisc" = "fq"; "net.ipv4.tcp_congestion_control" = "bbr"; }; }; }