framework: Enable hibernation and lock before doing it

This commit is contained in:
Natsu Kagami 2024-02-02 13:18:38 +01:00
parent cec9dd4d85
commit 2888c0a300
Signed by: nki
GPG key ID: 55A032EB38B49ADB
3 changed files with 8 additions and 1 deletions

View file

@ -20,7 +20,7 @@
# Power Management
services.upower = {
enable = true;
criticalPowerAction = "PowerOff";
criticalPowerAction = "Hibernate";
usePercentageForPolicy = true;
percentageCritical = 3;