about summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorEdward Tjörnhammar <ed@cflags.cc>2017-01-29 18:00:52 +0100
committerEdward Tjörnhammar <ed@cflags.cc>2017-01-29 18:00:58 +0100
commite324c02aa5f90664d1dcb73017b2501ffbaaf1fb (patch)
treeb903c103ad974e4338487a7611b0a4a07b80fa67 /nixos/modules/services
parent92cb10a2536b50bac1d38a5a3f312560b7072453 (diff)
downloadnixlib-e324c02aa5f90664d1dcb73017b2501ffbaaf1fb.tar
nixlib-e324c02aa5f90664d1dcb73017b2501ffbaaf1fb.tar.gz
nixlib-e324c02aa5f90664d1dcb73017b2501ffbaaf1fb.tar.bz2
nixlib-e324c02aa5f90664d1dcb73017b2501ffbaaf1fb.tar.lz
nixlib-e324c02aa5f90664d1dcb73017b2501ffbaaf1fb.tar.xz
nixlib-e324c02aa5f90664d1dcb73017b2501ffbaaf1fb.tar.zst
nixlib-e324c02aa5f90664d1dcb73017b2501ffbaaf1fb.zip
nixos: i2pd, follow redirect
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/networking/i2pd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/i2pd.nix b/nixos/modules/services/networking/i2pd.nix
index abb7a4e9137c..c5b27350b3c2 100644
--- a/nixos/modules/services/networking/i2pd.nix
+++ b/nixos/modules/services/networking/i2pd.nix
@@ -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";