mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-23 13:59:54 -05:00
10 lines
206 B
Nix
10 lines
206 B
Nix
{lib, ...}: {
|
|
boot = {
|
|
kernelModules = ["kvm-amd"];
|
|
kernelParams = ["amd_pstate=active"];
|
|
};
|
|
|
|
hardware.cpu.amd.updateMicrocode = true;
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
}
|