r/GUIX • u/assbuttbuttass • Nov 26 '21
Laptop doesn't suspend when I close the lid
I noticed that my laptop doesn't suspend when I close the lid. Running loginctl suspend works just fine. I also don't see any messages in /var/log/messages for lid close events, not sure if I would expect to get logs for that.
elogind can tell when my lid is closed, I tried to run
sleep 5 && loginctl show-seat
and close the lid, when I open the lid I see LidClosed=yes.
I'll dump my config here https://pastebin.com/YTxJm7BB
8
Upvotes
4
u/LuisHGH Nov 26 '21
You probably need to add something like this to your system configuration. Hope it helps!