lifebook: fix s0 suspend

This commit is contained in:
Kabbone 2024-08-25 20:15:26 +02:00
parent aaaa3f108f
commit 0f3a2e0e52
Signed by: Kabbone
SSH Key Fingerprint: SHA256:ezolxoMIF3LNo1yc1aGNCvFNUiSZNjUbNhrZohFeKd0
2 changed files with 7 additions and 2 deletions

View File

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

View File

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