11 lines
212 B
Nix
11 lines
212 B
Nix
{ config, lib, ... }:
|
|
lib.mkIf (config.custom.platform == "laptop") {
|
|
services.upower = {
|
|
enable = true;
|
|
|
|
usePercentageForPolicy = true;
|
|
percentageLow = 15;
|
|
percentageCritical = 5;
|
|
};
|
|
}
|