mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-11-30 13:03:30 +01:00
lenovo/ideapad/14imh9: use systemd.sleep.settings instead of deprecated extraConfig
This commit is contained in:
1 parent
f1cf00348d
commit
85d72767a4
1 file changed
+1
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user