Hi Andy,

Andy Tai <[email protected]> writes:

> On a machine running the GNU Guix system distribution, how to totally
> disable sleep and suspend?    I assume this is managed by GNU
> Shepherd, similar to how Systemd manages the same on other common
> GNU/Linux distributions.

Have a look at elogind-configuration in (info "(guix) Desktop
Services"), more specifically the handle-power-key, handle-suspend-key
and handle-hibernate-key.

You may otherwise be able to simply disable sleep from the machines'
UEFI configuration, though I haven't tried that.

-- 
Thanks,
Maxim

Reply via email to