How to override and or modify a file in host OS ( /etc/ )

Hi, I’m in need of modifying the file in /etc/systemd/logind.conf

Specifically what I’m trying to achieve is being able to override the HandlePowerKey property in that file to add custom behaviour to the button event instead of having the device shut off.

I was that hoping modifying the /mnt/state/root-overlay/etc/systemd would mirror changes but it doesn’t appear to do so.

What is the balena way to be able to accomplish what I’m trying to do?