2023-07-18 11:44:48 +02:00
|
|
|
{ config, pkgs, ... }:
|
2023-06-12 23:25:40 +02:00
|
|
|
{
|
|
|
|
boot = {
|
|
|
|
supportedFilesystems = ["zfs"];
|
2023-07-18 11:44:48 +02:00
|
|
|
kernelParams = [
|
|
|
|
"ipmi_watchdog.timeout=300"
|
|
|
|
];
|
2023-06-12 23:25:40 +02:00
|
|
|
initrd.availableKernelModules = [
|
|
|
|
"xhci_pci"
|
|
|
|
"ahci"
|
|
|
|
"usbhid"
|
|
|
|
"usb_storage"
|
|
|
|
"sd_mod"
|
|
|
|
"nvme"
|
|
|
|
];
|
2023-07-18 11:44:48 +02:00
|
|
|
initrd.kernelModules = [
|
|
|
|
"ipmi_watchdog"
|
|
|
|
];
|
|
|
|
blacklistedKernelModules = [
|
|
|
|
"iTCO_wdt"
|
|
|
|
];
|
2023-06-12 23:25:40 +02:00
|
|
|
zfs.enableUnstable = true;
|
|
|
|
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
|
|
|
};
|
|
|
|
|
2023-07-18 11:44:48 +02:00
|
|
|
environment.systemPackages = [ pkgs.ipmitool ];
|
|
|
|
|
2023-06-12 23:25:40 +02:00
|
|
|
hardware.enableRedistributableFirmware = true;
|
|
|
|
}
|