lifebook: fix s0 suspend
This commit is contained in:
parent
aaaa3f108f
commit
0f3a2e0e52
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user