aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-02-25 18:58:02 +0000
committerLudovic Courtès <ludo@gnu.org>2023-03-03 17:55:33 +0100
commitca3a73de3db533e6247c01a6a6b3bc9177a089e6 (patch)
treeacad872e63f46f745da3b063930e78f723bc563a
parent00767d967d2f70d53bb7494ac09e0e7c44323697 (diff)
downloadguix-ca3a73de3db533e6247c01a6a6b3bc9177a089e6.tar
guix-ca3a73de3db533e6247c01a6a6b3bc9177a089e6.tar.gz
services: elogind-configuration: Do not ignore 'handle-hibernate-key' by default.
* gnu/services/desktop.scm (<elogind-configuration>)[handle-hibernate-key]: Set default value to 'hibernate. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/services/desktop.scm6
1 files changed, 1 insertions, 5 deletions
diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index 374d47869b..634b240af2 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -978,11 +978,7 @@ include the @command{udisksctl} command, part of UDisks, and GNOME Disks."
(handle-suspend-key elogind-handle-suspend-key
(default 'suspend))
(handle-hibernate-key elogind-handle-hibernate-key
- ;; (default 'hibernate)
- ;; XXX Ignore it for now, since we don't
- ;; yet handle resume-from-hibernation in
- ;; our initrd.
- (default 'ignore))
+ (default 'hibernate))
(handle-lid-switch elogind-handle-lid-switch
(default 'suspend))
(handle-lid-switch-docked elogind-handle-lid-switch-docked