nixos-config/laptop/config/battery.nix

11 lines
153 B
Nix

{ ... }:
{
services.upower = {
enable = true;
usePercentageForPolicy = true;
percentageLow = 15;
percentageCritical = 5;
};
}