boiling opsec

This commit is contained in:
elwrcl committed 2026-08-27 20:53:37 +03:00
1 parent 51363a98c7
commit 7a45aad6b4
7 files changed
+210 -30

No files matched your search

+1 -27
View File
@@ -1,35 +1,9 @@
{ ... }:
{
flake.nixosModules.common-boot =
{
pkgs,
inputs,
...
}:
{ pkgs, ... }:
{
environment.systemPackages = [ pkgs.efibootmgr ];
boot.kernelPackages = pkgs.linuxPackages_latest;
# todo soryu kernel, opsec modules ..
boot.kernelParams = [
"mitigations=off"
"nmi_watchdog=1"
"transparent_hugepage=madvise"
];
boot.kernelModules = [
"tcp_bbr"
"sch_fq"
];
hardware.i2c.enable = true;
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" = 50;
};
boot.loader = {
timeout = 5;