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
|
||||
|
|
|
|||
|
|
@ -7,11 +7,11 @@
|
|||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "xai-grok";
|
||||
version = "0.2.38";
|
||||
version = "0.2.50";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@xai-official/grok-linux-x64/-/grok-linux-x64-${version}.tgz";
|
||||
hash = "sha256-E023XTq3PwPH2zBuOh4jFoUh08o6p4IPfX0x7KFUleE=";
|
||||
hash = "sha256-LCw+7p7WA71FxhCPquwp7NHujVvZoMXH60IyrBD8FZs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ nodejs ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue