summary refs log blame commit diff stats
path: root/sys/services/upower/default.nix
blob: bd9d0bedf24650deaa259c9997a15d2f9ffec104 (plain) (tree)
1
2
3
4
5
6
7
8
9
10








                                      
{...}: {
  services.upower = {
    enable = true;
    usePercentageForPolicy = true;
    percentageLow = 10;
    percentageCritical = 5;
    percentageAction = 1;
    criticalPowerAction = "Hibernate";
  };
}