1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 { ... }:
{
services.batsignal = {
enable = true;
extraArgs = [
# expire notifications
"-e"
# show message when battery begins charging/discharging
"-p"
# minimum number of SECONDS to wait between battery checks
"-m10"
# bat levels
"-w20"
"-c10"
"-d5"
"-D" "systemctl suspend"
];
};
}