NetworkManager: Start script only on certain connections
I backup my laptop using Syncoid from the Sanoid package to my homeserver. Because I don’t want to do this manually (e.g. forget it), I was looking for a way to automate the whole thing. A systemd-timer seems like a simple solution at first, but the system is not online all the time and also switches between networks. Also my backup destination is not accessible from the outside without VPN. So I need a solution which only runs if the laptop connects to the home network....