framework: Enable hibernation and lock before doing it
This commit is contained in:
parent
cec9dd4d85
commit
2888c0a300
3 changed files with 8 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
|||
# Power Management
|
||||
services.upower = {
|
||||
enable = true;
|
||||
criticalPowerAction = "PowerOff";
|
||||
criticalPowerAction = "Hibernate";
|
||||
|
||||
usePercentageForPolicy = true;
|
||||
percentageCritical = 3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue