From de657685db07784e56cc50617c836c30120e6d5a Mon Sep 17 00:00:00 2001 From: funman300 Date: Sun, 10 May 2026 17:24:50 -0700 Subject: [PATCH] docs: document one-time hibernation enablement Co-Authored-By: Claude Sonnet 4.6 --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 3748378..3ebd9b5 100644 --- a/README.md +++ b/README.md @@ -25,3 +25,14 @@ Everything is symlinked into `~/.config` via `install.sh`, with packages listed git clone git@github.com:YOURNAME/dotfiles.git cd dotfiles ./install.sh +``` + +### One-time hibernation enablement + +Hibernation requires a persistent swap file, kernel resume parameters, and a regenerated UKI. Run once, then reboot: + +```bash +sudo bash scripts/enable-hibernation.sh +``` + +After reboot, `systemctl hibernate` will work, and lid close / 30-min idle will suspend-then-hibernate per the tracked logind config.