Enabling persistent WOL WakeOnLAN on Bazzite 41+

WOL is not enabled by default in Bazzite 41. I've tried multiple ways to get it to enable persist a reboot.

I can enable it like so:
sudo nmcli connection modify enp2s0 802-3-ethernet.wake-on-lan magic
sudo nmcli connection up enp2s0
sudo nmcli connection show enp2s0 | grep 802-3-ethernet.wake-on-lan


However, on reboot, it gets disabled again. I can't seem to get it to persist.
Was this page helpful?