can haz low battery hibernation
This commit is contained in:
parent
e07d1e3187
commit
ceb3f3d3f7
2 changed files with 12 additions and 7 deletions
|
|
@ -270,15 +270,19 @@
|
|||
services.blueman.enable = true;
|
||||
|
||||
services.logind.settings.Login = {
|
||||
HandlePowerKey = "suspend";
|
||||
HandleLidSwitch = "suspend";
|
||||
HandlePowerKey = "suspend-then-hibernate";
|
||||
HandleLidSwitch = "suspend-then-hibernate";
|
||||
};
|
||||
|
||||
systemd.sleep.settings.Sleep = {
|
||||
HibernateDelaySec = "30min";
|
||||
};
|
||||
|
||||
services.upower = {
|
||||
enable = true;
|
||||
percentageLow = 15;
|
||||
percentageCritical = 5;
|
||||
percentageAction = 3;
|
||||
percentageLow = 20;
|
||||
percentageCritical = 10;
|
||||
percentageAction = 8;
|
||||
criticalPowerAction = "Hibernate";
|
||||
};
|
||||
|
||||
|
|
@ -328,6 +332,7 @@
|
|||
socat
|
||||
#pkgs.beads
|
||||
gh
|
||||
pkgs.unstable.cursor-cli
|
||||
pkgs.unstable.opencode
|
||||
pkgs.pi-coding-agent
|
||||
pkgs.xai-grok
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue