dotfiles/nixos/systems/blowhole/hardware.nix
magic_rb 9b81f3068a
server: switch to Linux 6.6
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-11-09 22:16:20 +01:00

34 lines
633 B
Nix

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