dotfiles/nixos/systems/blowhole/hardware.nix

30 lines
602 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
{
boot = {
supportedFilesystems = ["zfs"];
kernelParams = [
"ipmi_watchdog.timeout=300"
];
initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"usbhid"
"usb_storage"
"sd_mod"
"nvme"
];
initrd.kernelModules = [
"ipmi_watchdog"
];
blacklistedKernelModules = [
"iTCO_wdt"
];
zfs.enableUnstable = true;
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
};
environment.systemPackages = [ pkgs.ipmitool ];
hardware.enableRedistributableFirmware = true;
}