From 1f1106c5b522c26858221ba99f70d2308a8164fe Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 2 May 2023 19:43:02 -0700 Subject: profiles/server: move boot loader configuration --- hosts/carmel/boot.nix | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) (limited to 'hosts/carmel') diff --git a/hosts/carmel/boot.nix b/hosts/carmel/boot.nix index c867bfb..b3b63da 100644 --- a/hosts/carmel/boot.nix +++ b/hosts/carmel/boot.nix @@ -1,21 +1,12 @@ { ... }: { - boot = { - loader = { - systemd-boot = { - enable = true; - # see https://www.man7.org/linux/man-pages/man5/loader.conf.5.html - consoleMode = "max"; - }; - efi.efiSysMountPoint = "/boot/efi"; - }; + boot.loader.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"; - }; + boot.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"; }; } -- cgit 1.4.1