From 4f6642c21032b68317489131aaf675f43762e92b Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 13 Oct 2024 20:24:58 +0200 Subject: [PATCH] use schedutil for powermanagement --- share/common.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/share/common.nix b/share/common.nix index 0f57ebf..6a0890f 100644 --- a/share/common.nix +++ b/share/common.nix @@ -290,6 +290,12 @@ in systemd.targets.hibernate.enable = false; systemd.targets.hybrid-sleep.enable = false; + # power management + powerManagement = { + enable = true; + cpuFreqGovernor = "schedutil"; + }; + # allow unfree packages nixpkgs.config.allowUnfree = true;