nixos/network-interfaces: Support the old ip configuration convention