diff --git a/ops/nixos/porcorosso/default.nix b/ops/nixos/porcorosso/default.nix index 20f795ae3f..2aa8a2e9d9 100644 --- a/ops/nixos/porcorosso/default.nix +++ b/ops/nixos/porcorosso/default.nix @@ -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