summaryrefslogtreecommitdiffstats
path: root/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'profiles')
-rw-r--r--profiles/laptop.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/profiles/laptop.nix b/profiles/laptop.nix
index 3b5f489..f6c24a9 100644
--- a/profiles/laptop.nix
+++ b/profiles/laptop.nix
@@ -1,7 +1,13 @@
1inputs: 1inputs:
2 2
3{ pkgs, ... }: 3{ config, ... }:
4 4
5{ 5{
6 services.auto-cpufreq.enable = true; 6 services.tlp = {
7 enable = true;
8 settings = {
9 CPU_SCALING_GOVERNOR_ON_AC = config.powerManagement.cpuFreqGovernor;
10 CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
11 };
12 };
7} 13}