From 179bcde845464be4f21e4b170877e3ef61fec2b3 Mon Sep 17 00:00:00 2001 From: Alberto Berti Date: Sun, 3 Jun 2018 01:32:16 +0200 Subject: [PATCH] Add stub for the S3 suspend state issue See https://delta-xi.net/#056 --- lenovo/thinkpad/x1/6th-gen/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lenovo/thinkpad/x1/6th-gen/default.nix b/lenovo/thinkpad/x1/6th-gen/default.nix index 848cc00cae7..c0b4fbd785e 100644 --- a/lenovo/thinkpad/x1/6th-gen/default.nix +++ b/lenovo/thinkpad/x1/6th-gen/default.nix @@ -55,4 +55,14 @@ STOP_CHARGE_THRESH_BAT0=80 ]; }; + # Enable S3 suspend state: you have to manually follow the + # instructions shown here: https://delta-xi.net/#056 in order to + # produce the ACPI patched table. Put the CPIO archive in /boot and + # then enable the following lines + # boot.kernelParams = [ + # "mem_sleep_default=deep" + # ]; + # boot.initrd.prepend = [ + # "/boot/acpi_override" + # ]; }