lenovo/ideapad/14imh9: use systemd.sleep.settings instead of deprecated extraConfig
This commit is contained in:
parent
f1cf00348d
commit
85d72767a4
1 changed files with 1 additions and 3 deletions
|
|
@ -70,9 +70,7 @@
|
|||
|
||||
# Workaround: Lenovo seems write bad acpi power management firmware. Without this config,
|
||||
# suspend (to ram / disk) will simply reboot instead of power off. :(
|
||||
sleep.extraConfig = ''
|
||||
HibernateMode=shutdown
|
||||
'';
|
||||
sleep.settings.Sleep.HibernateMode = "shutdown";
|
||||
};
|
||||
|
||||
# TPM2 module
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue