about summary refs log tree commit diff stats
path: root/hosts/mammun_on_vm/hardware/cpu.nix
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-26 12:22:58 +0100
committerene <ene@sils.li>2023-02-26 12:24:36 +0100
commite22f4574f69b83c34940817c3bf0ce89ec2e7d5b (patch)
tree93ae6580205ec801a87f40baea7b86edd978e559 /hosts/mammun_on_vm/hardware/cpu.nix
parentFix(hosts/mammun): Use amdgpu driver (diff)
downloadnixos-config-e22f4574f69b83c34940817c3bf0ce89ec2e7d5b.zip
Feat(hosts): Added mammun for the vm config
Diffstat (limited to 'hosts/mammun_on_vm/hardware/cpu.nix')
-rw-r--r--hosts/mammun_on_vm/hardware/cpu.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/hosts/mammun_on_vm/hardware/cpu.nix b/hosts/mammun_on_vm/hardware/cpu.nix
new file mode 100644
index 00000000..2d7232cd
--- /dev/null
+++ b/hosts/mammun_on_vm/hardware/cpu.nix
@@ -0,0 +1,4 @@
+{config, ...}: {
+  powerManagement.cpuFreqGovernor = "powersave";
+  hardware.cpu.amd.updateMicrocode = true; # Why not?
+}