mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-24 23:11:55 -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";
|
||
|
}
|