Syncthing Network Namespace

I need Syncthing to only use a specific network interface and it shows how I can do that here:
Routing on a Per Application Basis

On NixOS, is there a proper way to do this or maybe a different way?:wink: