21 lines
415 B
Nix
21 lines
415 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
hardware.cpu.amd = {
|
|
ryzen-smu.enable = true;
|
|
updateMicrocode = true;
|
|
};
|
|
boot = {
|
|
binfmt = {
|
|
preferStaticEmulators = true;
|
|
emulatedSystems = [ "aarch64-linux" "x86_64-windows" ];
|
|
};
|
|
kernelModules = [ "kvm-amd" ];
|
|
kernelPackages = pkgs.linuxPackages_xanmod_latest;
|
|
};
|
|
programs = {
|
|
ryzen-monitor-ng.enable = true;
|
|
corectrl.enable = true;
|
|
};
|
|
}
|