This commit is contained in:
ItsDrike 2024-03-25 22:46:28 +01:00
parent b4acb6e15f
commit 89c5009781
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -50,9 +50,9 @@ in
# Get global IP address by querying opendns directly # Get global IP address by querying opendns directly
# (much better than using some random "what is my ip" service) # (much better than using some random "what is my ip" service)
# <https://unix.stackexchange.com/a/81699> # <https://unix.stackexchange.com/a/81699>
canihazip = "${getExe pkgs.dig} @resolver4.opendns.com myip.opendns.com +short"; ip = "${getExe pkgs.dig} @resolver4.opendns.com myip.opendns.com +short";
canihazip4 = "${getExe pkgs.dig} @resolver4.opendns.com myip.opendns.com +short -4"; ip4 = "${getExe pkgs.dig} @resolver4.opendns.com myip.opendns.com +short -4";
canihazip6 = "${getExe pkgs.dig} @resolver1.ipv6-sandbox.opendns.com AAAA myip.opendns.com +short -6"; ip6 = "${getExe pkgs.dig} @resolver1.ipv6-sandbox.opendns.com AAAA myip.opendns.com +short -6";
# Expand aliases from sudo # Expand aliases from sudo
sudo = "sudo "; sudo = "sudo ";