nixos-config/modules/tlp.nix

9 lines
160 B
Nix
Raw Normal View History

{ config, ... }:
2020-09-11 18:45:46 +02:00
{
services.tlp.enable = true;
# Allow calibrating battery
boot.extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
2020-09-11 18:45:46 +02:00
}