From a7dbe1f0c71df33468cdc2ca44c532336e206243 Mon Sep 17 00:00:00 2001 From: Markus Schmidl Date: Mon, 13 May 2024 00:23:36 +0200 Subject: [PATCH] tetra-zw: set cpufreq to 2.4GHz --- hosts/tetra-zw/configuration.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hosts/tetra-zw/configuration.nix b/hosts/tetra-zw/configuration.nix index 5ca9119..28a8cb9 100644 --- a/hosts/tetra-zw/configuration.nix +++ b/hosts/tetra-zw/configuration.nix @@ -24,7 +24,13 @@ services.resolved.dnssec = "false"; - system.stateVersion = "23.05"; + system.stateVersion = "23.11"; deployment-TLMS.monitoring.enable = registry.monitoring; + + powerManagement.enable = true; + powerManagement.cpuFreqGovernor = "ondemand"; + # 2.4GHz fixed! + powerManagement.cpufreq.min = 2400000; + powerManagement.cpufreq.max = 2400000; }