summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/networking/i2pd.nix
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2018-07-20 17:56:59 +0000
committervolth <volth@volth.com>2018-07-20 18:48:37 +0000
commit87f5930c3fb2c852f5243278b7a9da8e117d95e4 (patch)
treed76aa79bc394e820305c4eebbd250c89f6992eb9 /nixos/modules/services/networking/i2pd.nix
parenta7e5927b4739c6e6427fc993f077cd3eb5433db7 (diff)
[bot]: remove unreferenced code
Diffstat (limited to 'nixos/modules/services/networking/i2pd.nix')
-rw-r--r--nixos/modules/services/networking/i2pd.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/i2pd.nix b/nixos/modules/services/networking/i2pd.nix
index 8875309143fd..4f219fe56b4c 100644
--- a/nixos/modules/services/networking/i2pd.nix
+++ b/nixos/modules/services/networking/i2pd.nix
@@ -103,7 +103,7 @@ let
${flip concatMapStrings
(collect (proto: proto ? port && proto ? address && proto ? name) cfg.proto)
- (proto: let portStr = toString proto.port; in ''
+ (proto: ''
[${proto.name}]
enabled = ${boolToString proto.enable}
address = ${proto.address}
@@ -122,7 +122,7 @@ let
# DO NOT EDIT -- this file has been generated automatically.
${flip concatMapStrings
(collect (tun: tun ? port && tun ? destination) cfg.outTunnels)
- (tun: let portStr = toString tun.port; in ''
+ (tun: ''
[${tun.name}]
type = client
destination = ${tun.destination}