From 0741650f125d2877d0ab0d9da15d6d3d229f837d Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Wed, 25 Oct 2023 01:57:50 +0300 Subject: 2023-10-25 --- modules/nixos/ipfs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/nixos/ipfs.nix') diff --git a/modules/nixos/ipfs.nix b/modules/nixos/ipfs.nix index 16e986c..43ddb70 100644 --- a/modules/nixos/ipfs.nix +++ b/modules/nixos/ipfs.nix @@ -86,7 +86,7 @@ in { "/ip6/fc00::/ipcidr/7" ]; in { - Addresses = with config.services.ipfs; { + Addresses = { API = "/ip4/127.0.0.1/tcp/${toString cfg.apiPort}"; Gateway = "/ip4/127.0.0.1/tcp/${toString cfg.gatewayPort}"; Swarm = let -- cgit 1.4.1