nix/module/AmdCpu.nix

6 lines
194 B
Nix

# AMD CPU specific configuration.
{ lib, config, ... }: {
boot.kernelModules = [ "kvm-amd" ];
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}