From e0a73de62810c2c914acd9f9459c63f11853affb Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 25 Jan 2023 23:37:35 +0100 Subject: [PATCH] modules/ipfs: share: provide some more web links --- modules/ipfs/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/ipfs/default.nix b/modules/ipfs/default.nix index cc1c71a..9a6314c 100644 --- a/modules/ipfs/default.nix +++ b/modules/ipfs/default.nix @@ -72,7 +72,12 @@ in { cid=$(ipfs add -Qrp --pin=false "$@") test -n $cid || exit 0 echo -e "\n\n IPFS path: /ipfs/$cid" - echo -e " Web link: https://$(ipfs cid base32 $cid).ipfs.privatevoid.net\n" + b32=$(ipfs cid base32 $cid) + echo -e " Web link: https://$b32.ipfs.privatevoid.net" + echo -e " Web link: https://$b32.ipfs.dweb.link" + echo -e " Web link: https://privatevoid.net/ipfs/$cid" + echo -e " Web link: https://ipfs.io/ipfs/$cid" + echo -e " Web link: https://cloudflare-ipfs.com/ipfs/$cid\n" ''); networking.networkmanager.dispatcherScripts = [{ source = pkgs.writeShellScript "nm-ipfs-reconnect.sh" ''