porcorosso: enable TLP for battery saving in laptop mode
This commit is contained in:
parent
a35a702e7d
commit
afc4834723
1 changed files with 8 additions and 0 deletions
|
@ -320,6 +320,14 @@ in {
|
||||||
mandatoryFeatures = [ ];
|
mandatoryFeatures = [ ];
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
services.tlp = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
DISK_DEVICES = "nvme0n1 nvme1n1 nvme2n1";
|
||||||
|
DISK_IOSCHED = "mq-deadline mq-deadline mq-deadline";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# This value determines the NixOS release with which your system is to be
|
# This value determines the NixOS release with which your system is to be
|
||||||
# compatible, in order to avoid breaking some software such as database
|
# compatible, in order to avoid breaking some software such as database
|
||||||
# servers. You should change this only after NixOS release notes say you
|
# servers. You should change this only after NixOS release notes say you
|
||||||
|
|
Loading…
Reference in a new issue