From 542e47c978dcf0f804765d9a26f9d62ff291bfda Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sun, 13 Oct 2024 18:50:09 -0700 Subject: [PATCH] feat(adrastea): use better power governor setting --- hosts/adrastea/configuration.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/adrastea/configuration.nix b/hosts/adrastea/configuration.nix index c7ecf48..95e79c7 100755 --- a/hosts/adrastea/configuration.nix +++ b/hosts/adrastea/configuration.nix @@ -55,7 +55,10 @@ services.tlp.enable = true; - powerManagement.powerDownCommands = "pidof hyprlock || ${pkgs.hyprlock}/bin/hyprlock"; + powerManagement = { + powerDownCommands = "pidof hyprlock || ${pkgs.hyprlock}/bin/hyprlock"; + cpuFreqGovernor = "performance"; + }; networking.hostName = "adrastea"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.