about summary refs log tree commit diff stats
path: root/hosts/lahmu/hardware/cpu.nix
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-21 11:23:30 +0100
committerene <ene@sils.li>2023-02-21 11:23:30 +0100
commit976f90b793f27e4b38297753583c9f3cd24cd7cd (patch)
tree9ea16218a2d935435023eb837d93fc1747694218 /hosts/lahmu/hardware/cpu.nix
parentFix(bootstrap): Adapt to the new flake config (diff)
downloadnixos-config-976f90b793f27e4b38297753583c9f3cd24cd7cd.tar.gz
nixos-config-976f90b793f27e4b38297753583c9f3cd24cd7cd.zip
Feat(hosts): Add lahmu, a vm host
Diffstat (limited to 'hosts/lahmu/hardware/cpu.nix')
-rw-r--r--hosts/lahmu/hardware/cpu.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/hosts/lahmu/hardware/cpu.nix b/hosts/lahmu/hardware/cpu.nix
new file mode 100644
index 00000000..2d7232cd
--- /dev/null
+++ b/hosts/lahmu/hardware/cpu.nix
@@ -0,0 +1,4 @@
+{config, ...}: {
+  powerManagement.cpuFreqGovernor = "powersave";
+  hardware.cpu.amd.updateMicrocode = true; # Why not?
+}