about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-01-23 03:05:29 +0900
committersefidel <contact@sefidel.net>2024-01-23 03:05:29 +0900
commitf8dfff5e9a7255ff754972216deb45c102054d99 (patch)
tree4565ae5b60eae923215c3e9f387ba6d5523b82f6
parenta0fe46033d82e88f70717a9d572b9d6919a2eae7 (diff)
downloadnixrc-f8dfff5e9a7255ff754972216deb45c102054d99.tar.gz
nixrc-f8dfff5e9a7255ff754972216deb45c102054d99.zip
feat(nixos/kanata): use ondemand cpu freq governor
-rw-r--r--nixos/kanata/configuration.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/kanata/configuration.nix b/nixos/kanata/configuration.nix
index b7933c0..b12dc46 100644
--- a/nixos/kanata/configuration.nix
+++ b/nixos/kanata/configuration.nix
@@ -91,6 +91,8 @@ in
 
   sops.defaultSopsFile = ./secrets/secrets.yaml;
 
+  powerManagement.cpuFreqGovernor = "ondemand";
+
   # This option defines the first version of NixOS you have installed on this particular machine,
   # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
   #