I have an old laptop (Asus n56v) that I turned into a home lab by installing Proxmox hypervisor, it works well and also WOL (wake on LAN) work.
I need to store it lid-closed because I only manage it through the terminal from another host anyway.
I have edited /etc/systemd/logind.conf and set HandleLidSwitch=ignore so now when I close the lid nothing happens which is good.
I can't seem to be able to have it wake on LAN when the lid is closed, only when it's opened.
the Proxmox is running under Debian stretch, running kernel 4.15.17-1-pve.