lifebook: fix s0 suspend

This commit is contained in:
Kabbone 2024-08-25 20:15:26 +02:00
parent aaaa3f108f
commit 0f3a2e0e52
No known key found for this signature in database
2 changed files with 7 additions and 2 deletions

View File

@ -66,8 +66,7 @@
};
services = {
logind.lidSwitch = "hibernate"; # Laptop does not go to sleep when lid is closed
#auto-cpufreq.enable = true;
logind.lidSwitch = "suspend"; # Laptop does not go to sleep when lid is closed
blueman.enable = true;
printing = { # Printing and drivers for TS5300
enable = true;

View File

@ -42,6 +42,12 @@
zramSwap.enable = true;
powerManagement = {
powerDownCommands = "rmmod intel_lpss_pci";
resumeCommands = "modprobe intel_lpss_pci";
};
services = {
btrfs.autoScrub = {
enable = true;