many performance optimizations

This commit is contained in:
k3t
2026-08-08 01:25:08 -06:00
parent 91ea0a10cf
commit fc5fb9af0e
5 changed files with 86 additions and 34 deletions
+17 -6
View File
@@ -1,9 +1,20 @@
{ pkgs, ... }:
{
hardware.cpu.amd.updateMicrocode = true;
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
boot.binfmt.preferStaticEmulators = true;
boot.binfmt.emulatedSystems = [ "aarch64-linux" "x86_64-windows" ];
boot.kernelModules = [ "kvm-amd" ];
}
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;
};
}