mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
gentoo larp
This commit is contained in:
1 file changed
+16
-2
@@ -11,17 +11,31 @@ in
|
||||
|
||||
{
|
||||
imports = [ ];
|
||||
|
||||
environment.systemPackages = [ pkgs.efibootmgr ];
|
||||
|
||||
# gentoo larp section
|
||||
boot.kernelPackages = pkgs.linuxPackagesFor customKernel;
|
||||
|
||||
boot.kernelParams = [
|
||||
"preempt=full"
|
||||
"mitigations=off"
|
||||
"nmi_watchdog=1"
|
||||
"usbcore.autosuspend=-1"
|
||||
"ramoops.mem_size=8388608"
|
||||
"ramoops.record_size=524288"
|
||||
"transparent_hugepage=madvise"
|
||||
];
|
||||
boot.kernelModules = [
|
||||
"tcp_bbr"
|
||||
"sch_fq"
|
||||
];
|
||||
boot.kernel.sysctl = {
|
||||
"net.core.default_qdisc" = "fq";
|
||||
"net.ipv4.tcp_congestion_control" = "bbr";
|
||||
"kernel.softlockup_panic" = 1;
|
||||
"kernel.hardlockup_panic" = 1;
|
||||
"kernel.hung_task_panic" = 1;
|
||||
"kernel.panic" = 10;
|
||||
};
|
||||
|
||||
boot.loader = {
|
||||
timeout = 5;
|
||||
|
||||
Reference in new issue
Block a user