nixos: i2pd: rename extIp -> address to harmonize with tor

This commit is contained in:
SLNOS
2017-08-25 12:49:10 +00:00
committed by Jan Malakhovski
parent c21d434d1b
commit b42a107bc6
2 changed files with 5 additions and 4 deletions
+3 -3
View File
@@ -151,7 +151,7 @@ let
i2pdSh = pkgs.writeScriptBin "i2pd" ''
#!/bin/sh
${pkgs.i2pd}/bin/i2pd \
${if isNull cfg.extIp then "" else "--host="+cfg.extIp} \
${if isNull cfg.address then "" else "--host="+cfg.address} \
--conf=${i2pdConf} \
--tunconf=${i2pdTunnelConf}
'';
@@ -176,11 +176,11 @@ in
'';
};
extIp = mkOption {
address = mkOption {
type = with types; nullOr str;
default = null;
description = ''
Your external IP.
Your external IP or hostname.
'';
};