Add gjs and gnome-tweaks.
This commit is contained in:
parent
af5a7cf7c5
commit
358c9f0468
6 changed files with 4 additions and 5 deletions
12
roles/tlp.nix
Normal file
12
roles/tlp.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
||||
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
||||
START_CHARGE_THRESH_BAT0 = 40; # 40 and below it starts to charge
|
||||
STOP_CHARGE_THRESH_BAT0 = 80; # 80 and above it stops charging
|
||||
};
|
||||
};
|
||||
powerManagement.enable = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue