mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
chore[work]: improve suspend behaviour
This commit is contained in:
parent
9da6bd15ab
commit
e07b3c2b6e
9 changed files with 221 additions and 75 deletions
|
|
@ -7,6 +7,18 @@ in
|
|||
config = lib.mkIf config.swarselmodules.${moduleName} {
|
||||
services.${moduleName} = {
|
||||
enable = true;
|
||||
extraArgs = [
|
||||
"-W"
|
||||
" Consider charging the battery"
|
||||
"-C"
|
||||
" Battery is low; plug in charger now"
|
||||
"-D"
|
||||
" Device will lose power in a few seconds"
|
||||
"-c"
|
||||
"10"
|
||||
"-d"
|
||||
"5"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue