modules/ipfs: share: provide some more web links
This commit is contained in:
parent
e587b61cbc
commit
e0a73de628
1 changed files with 6 additions and 1 deletions
|
@ -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" ''
|
||||
|
|
Loading…
Reference in a new issue