mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-30 00:18:44 +01:00
add tlp
This commit is contained in:
parent
6f45268150
commit
9f0a3640d8
|
@ -5,6 +5,7 @@
|
|||
./flatpak.nix
|
||||
./home
|
||||
./dm.nix
|
||||
./tlp.nix
|
||||
];
|
||||
services.upower = {
|
||||
enable = true;
|
||||
|
|
9
modules/desktop-environment/tlp.nix
Normal file
9
modules/desktop-environment/tlp.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{...}: {
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
START_CHARGE_THRESH_BAT0 = "70";
|
||||
STOP_CHARGE_TRESH_BAT0 = "85";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue