mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-27 05:49:17 -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";
|
||
|
}
|