From 42439ff035e7221be4d186aea009eae43245dbb1 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Tue, 21 Jun 2022 14:32:49 +0200 Subject: [PATCH] feat: use on-demant cpufreq governor --- configuration.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/configuration.nix b/configuration.nix index 16b4423..8b5f1e4 100644 --- a/configuration.nix +++ b/configuration.nix @@ -12,7 +12,14 @@ }; }; - powerManagement.enable = true; + powerManagement = { + enable = true; + powertop.enable = true; + cpuFreqGovernor = "ondemand"; + }; + + services.acpid.enable = true; + services.xserver = { enable = true; @@ -39,8 +46,6 @@ time.timeZone = "Europe/Berlin"; services.timesyncd.enable = true; - services.acpid.enable = true; - i18n.defaultLocale = "en_US.UTF-8"; console = { font = "Lat2-Terminus16";