Add hibernate
This commit is contained in:
parent
20dc381aa3
commit
fb0b800420
1 changed files with 8 additions and 0 deletions
|
|
@ -169,6 +169,14 @@
|
|||
lidSwitch = "suspend";
|
||||
};
|
||||
|
||||
services.upower = {
|
||||
enable = true;
|
||||
percentageLow = 15;
|
||||
percentageCritical = 5;
|
||||
percentageAction = 3;
|
||||
criticalPowerAction = "Hibernate";
|
||||
};
|
||||
|
||||
# Enable sound with pipewire.
|
||||
services.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue