Disable power button on laptop

The problem is accidentally hitting the power key when reaching for backspace, causing the machine to shutdown. The answer is to add the following two lines to /etc/systemd/logind.conf: [Login] HandlePowerKey=ignore