clan-infra/modules/hetzner-ex101.nix

14 lines
486 B
Nix
Raw Normal View History

{ pkgs, ... }: {
2023-07-17 08:31:59 +00:00
# Enable raid support specifically, this will disable srvos's
# systemd-initrd as well, which currently is not compatible with mdraid.
boot.swraid.enable = true;
2023-07-17 08:31:59 +00:00
systemd.services.mdmonitor.enable = false;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# We are not limited by zfs, so we can use the latest kernel
boot.kernelPackages = pkgs.linuxPackages_latest;
powerManagement.cpuFreqGovernor = "powersave";
2023-07-17 08:31:59 +00:00
}