I added
services.logind.lidSwitch = "suspend";
to my configuraition.nix, however
journalctl | grep suspend
doesn’t show any of the times I have closed my laptop in the last days. Furthermore I am using a lenovo thinkpad E14.
Have you guys got any ideas?