nixos/network-interfaces: Add support for multiple ipv4 / ipv6 addresses

Shouldn't this also filter out ipv6 interfaces?