mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-26 18:16:13 +01:00
8312a14c53
Signed-off-by: magic_rb <magic_rb@redalder.org>
34 lines
651 B
Nix
34 lines
651 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 = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
|
};
|
|
|
|
environment.systemPackages = [pkgs.ipmitool];
|
|
|
|
hardware.enableRedistributableFirmware = true;
|
|
}
|