mirror of
https://github.com/samueldr/wip-pinebook-pro.git
synced 2024-11-26 21:09:43 +01:00
Force s2idle until suspend is fixed.
This commit is contained in:
parent
d47d354dea
commit
002045ab17
1 changed files with 7 additions and 0 deletions
|
@ -54,6 +54,13 @@
|
||||||
pkgs.pinebookpro-firmware
|
pkgs.pinebookpro-firmware
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Until suspend is fixed, this at least prevents the user from shooting
|
||||||
|
# themselves in the foot by suspending accidentally, then forced to restart
|
||||||
|
# the system forcibly..
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"w /sys/power/mem_sleep - - - - s2idle"
|
||||||
|
];
|
||||||
|
|
||||||
# The default powersave makes the wireless connection unusable.
|
# The default powersave makes the wireless connection unusable.
|
||||||
networking.networkmanager.wifi.powersave = lib.mkDefault false;
|
networking.networkmanager.wifi.powersave = lib.mkDefault false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue