porcorosso: enable TLP for battery saving in laptop mode

This commit is contained in:
Luke Granger-Brown 2021-12-31 23:52:40 +00:00
parent a35a702e7d
commit afc4834723

View file

@ -320,6 +320,14 @@ in {
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
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you