diff --git a/options/dyndns.nix b/options/dyndns.nix index 09ea088..90aac18 100644 --- a/options/dyndns.nix +++ b/options/dyndns.nix @@ -63,7 +63,7 @@ in dyndns_user="${cfg.username}" dyndns_password="$(cat "${cfg.passwordFile}")" - new_ip=$(${pkgs.iproute}/bin/ip -6 a show scope global -temporary dev "$interface" | ${pkgs.gnused}/bin/sed -n -E 's/^\ *inet6\ (2001(:[0-9a-f]+)+).*$/\1/p' | head -1) + new_ip=$(${pkgs.iproute2}/bin/ip -6 a show scope global -temporary dev "$interface" | ${pkgs.gnused}/bin/sed -n -E 's/^\ *inet6\ (2001(:[0-9a-f]+)+).*$/\1/p' | head -1) if [ -z "$new_ip" ] ; then echo "Could not determine IP address."