New to the community. Apologize in advance if I missed this somewhere. I did search the docs and the community, but did not find an exact match (this problem is discussed relative to installs under PROXMOX, but I did not find for stand alone HAOS).
Problem: I repurposed an old laptop to run HAOS. Its working fine, but I have not been successful in getting HAOS to ignore lid closure. I modified logind.conf and set “HandleLidSwitch=ignore”. No joy.
I installed a fresh instance of HAOS on an Asus laptop which does not have any lid settings in BIOS execept for “Wake when lid is open”. The laptop goes to sleep when I close the lid. I have read about editing the logind.conf file, but that file does not exist when you install HAOS as its own operating system apparently. Is there any way to accomplish keep the laptop awake while lid is closed with the standard HAOS stand-alone build?
EDIT: So, I just manually created /usr/lib/systemd/logind.conf and added the following to it: