tunnelx: minor refactor and cleanup
Follow up of https://github.com/NixOS/nixpkgs/pull/239739
Pol Dellaiera 2 years ago 2c687f06 af59b3fb