Add ipmi_watchdog to blowhole

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-07-18 11:44:48 +02:00
parent cbc32aef09
commit 361e6b2065
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -1,7 +1,10 @@
{ config, ... }: { config, pkgs, ... }:
{ {
boot = { boot = {
supportedFilesystems = ["zfs"]; supportedFilesystems = ["zfs"];
kernelParams = [
"ipmi_watchdog.timeout=300"
];
initrd.availableKernelModules = [ initrd.availableKernelModules = [
"xhci_pci" "xhci_pci"
"ahci" "ahci"
@ -10,9 +13,17 @@
"sd_mod" "sd_mod"
"nvme" "nvme"
]; ];
initrd.kernelModules = [
"ipmi_watchdog"
];
blacklistedKernelModules = [
"iTCO_wdt"
];
zfs.enableUnstable = true; zfs.enableUnstable = true;
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
}; };
environment.systemPackages = [ pkgs.ipmitool ];
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
} }