mirror of
https://github.com/JuLi0n21/publicConfig.git
synced 2026-04-19 16:00:08 +00:00
first commit
This commit is contained in:
27
hosts/framework/framework.nix
Normal file
27
hosts/framework/framework.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user