summaryrefslogtreecommitdiffstats
path: root/profiles/laptop.nix
diff options
context:
space:
mode:
authorMinijackson <minijackson@riseup.net>2025-03-31 13:31:37 +0200
committerMinijackson <minijackson@riseup.net>2025-03-31 13:32:41 +0200
commitfdbc36d850072bcd3c544fe9c3954428e841cc99 (patch)
tree6ea40d816c389b5e02fb4711d573d5a8d1b0f499 /profiles/laptop.nix
parent4a850be9ff92cfc4d51a423b8f5c7d5637adeda4 (diff)
downloadnixos-config-reborn-fdbc36d850072bcd3c544fe9c3954428e841cc99.tar.gz
nixos-config-reborn-fdbc36d850072bcd3c544fe9c3954428e841cc99.zip
laptop: switch TLP -> power-profiles-daemon
Diffstat (limited to 'profiles/laptop.nix')
-rw-r--r--profiles/laptop.nix8
1 files changed, 1 insertions, 7 deletions
diff --git a/profiles/laptop.nix b/profiles/laptop.nix
index 56eb7c4..418b3d0 100644
--- a/profiles/laptop.nix
+++ b/profiles/laptop.nix
@@ -3,13 +3,7 @@ inputs:
3{ config, lib, ... }: 3{ config, lib, ... }:
4 4
5{ 5{
6 services.tlp = { 6 services.power-profiles-daemon.enable = true;
7 enable = true;
8 settings = {
9 CPU_SCALING_GOVERNOR_ON_AC = config.powerManagement.cpuFreqGovernor;
10 CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
11 };
12 };
13 7
14 services.automatic-timezoned.enable = true; 8 services.automatic-timezoned.enable = true;
15 # Needed to be able to change timezone 9 # Needed to be able to change timezone