aboutsummaryrefslogtreecommitdiff
path: root/hosts/carmel/boot.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-02 19:43:02 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-02 19:43:02 -0700
commit1f1106c5b522c26858221ba99f70d2308a8164fe (patch)
tree632dac618bf5fa30797f6037a922c49b3ac4a891 /hosts/carmel/boot.nix
parentprofiles: consolidates common networking bits (diff)
downloadinfra-1f1106c5b522c26858221ba99f70d2308a8164fe.tar.gz
profiles/server: move boot loader configuration
Diffstat (limited to '')
-rw-r--r--hosts/carmel/boot.nix21
1 files changed, 6 insertions, 15 deletions
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";
};
}