about summary refs log tree commit diff
path: root/profiles/hardware/amd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/hardware/amd.nix')
-rw-r--r--profiles/hardware/amd.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/profiles/hardware/amd.nix b/profiles/hardware/amd.nix
new file mode 100644
index 0000000..dc933ee
--- /dev/null
+++ b/profiles/hardware/amd.nix
@@ -0,0 +1,6 @@
+{ ... }:
+{
+  hardware.cpu.amd.updateMicrocode = true;
+  boot.kernelModules = [ "kvm-amd" "k10temp" ];
+  boot.kernelParams = [ "amd_pstate=passive" ];
+}