mirror of
https://github.com/bartvdbraak/dotfiles.git
synced 2025-06-29 12:49:10 +00:00
Restructure Configuration
This commit is contained in:
parent
af4429982d
commit
7fce1cec3f
73 changed files with 841 additions and 3504 deletions
16
nixos/modules/battery.nix
Normal file
16
nixos/modules/battery.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services.power-profiles-daemon.enable = false;
|
||||
services.thermald.enable = true;
|
||||
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
CPU_BOOST_ON_AC = 1;
|
||||
CPU_BOOST_ON_BAT = 0;
|
||||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
||||
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue