{
  config,
  lib,
  pkgs,
  ...
}: {
  boot = {
    kernelModules = ["kvm-amd"];
    kernelParams = ["amd_pstate=active"];
  };

  hardware.cpu.amd.updateMicrocode = true;
  nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}
