about summary refs log tree commit diff stats
path: root/hosts/IDOHVE/hardware/cpu.nix
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-01 21:33:11 +0100
committerene <ene@sils.li>2023-02-03 17:34:11 +0100
commit871d3f95963eac25765427ecca9a8e4812071439 (patch)
tree5dcf241ece31050cf0c74219852242abe504e068 /hosts/IDOHVE/hardware/cpu.nix
parentBuild(flake): Added Flake.lock (diff)
downloadnixos-config-871d3f95963eac25765427ecca9a8e4812071439.zip
Feat: Split the config apart
Diffstat (limited to 'hosts/IDOHVE/hardware/cpu.nix')
-rw-r--r--hosts/IDOHVE/hardware/cpu.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/hosts/IDOHVE/hardware/cpu.nix b/hosts/IDOHVE/hardware/cpu.nix
new file mode 100644
index 00000000..5d61d02f
--- /dev/null
+++ b/hosts/IDOHVE/hardware/cpu.nix
@@ -0,0 +1,4 @@
+{config, ...}: {
+  powerManagement.cpuFreqGovernor =  "powersave";
+  hardware.cpu.amd.updateMicrocode = true; # Why not?
+}