mirror of
https://github.com/JuLi0n21/publicConfig.git
synced 2026-04-19 16:00:08 +00:00
27 lines
593 B
Nix
27 lines
593 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
hardware.sensor.iio.enable = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
pkgs.framework-tool
|
|
];
|
|
|
|
powerManagement.powertop.enable = true;
|
|
|
|
services.power-profiles-daemon.enable = false;
|
|
|
|
services.thermald.enable = true;
|
|
|
|
services.tlp = {
|
|
enable = true;
|
|
settings = {
|
|
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
|
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
|
# CPU_ENERGY_PERF_POLICY_ON_BAT = "performance";
|
|
PLATFORM_PROFILE_ON_BAT = "low-power";
|
|
WIFI_PWR_ON_BAT = "on";
|
|
RUNTIME_PM_ON_BAT = "auto";
|
|
};
|
|
};
|
|
} |