default: set some systemd-boot params

This commit is contained in:
Sandro - 2024-01-07 03:41:20 +01:00
parent 5c9aa53921
commit 2b8571c784
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 6 additions and 1 deletions

View File

@ -16,11 +16,16 @@
];
boot = {
tmp.cleanOnBoot = true;
loader.systemd-boot = {
configurationLimit = lib.mkDefault 10;
editor = false;
graceful = true;
};
kernel.sysctl = {
"kernel.panic" = 60; # reset 60 seconds after a kernel panic
"net.ipv4.tcp_congestion_control" = "bbr";
};
tmp.cleanOnBoot = true;
# recommend to turn off, only on by default for backwards compatibility
zfs.forceImportRoot = false;
};