Mekeor Melire <mekeor.mel...@gmail.com> writes: > As far as I understand, currently GuixSD uses elogind (“systemd > project's ‘logind’, extracted to a standalone package”) to suspend, > hibernate and resume when some events happen, like pressing the > suspend-key etc. > > Is there any nice way to suspend GuixSD by command? (I didn't yet try > out ‘echo mem > /sys/power/state’.)
"loginctl suspend" will do it, optionally with "-i" added to ignore inhibitors. See "loginctl --help" for more. Mark