nixos: i2pd, follow redirect

This commit is contained in:
Edward Tjörnhammar 2017-01-29 18:00:52 +01:00
parent 92cb10a253
commit e324c02aa5
No known key found for this signature in database
GPG Key ID: 7B82CE4A866B6845

View File

@ -8,7 +8,7 @@ let
homeDir = "/var/lib/i2pd";
extip = "EXTIP=\$(${pkgs.curl.bin}/bin/curl -sf \"http://jsonip.com\" | ${pkgs.gawk}/bin/awk -F'\"' '{print $4}')";
extip = "EXTIP=\$(${pkgs.curl.bin}/bin/curl -sLf \"http://jsonip.com\" | ${pkgs.gawk}/bin/awk -F'\"' '{print $4}')";
toYesNo = b: if b then "true" else "false";