mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-30 02:19:18 -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";
|
|
}
|