From 58f60eef45a67ee0935781e4b3ae470a835da04a Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 2 Nov 2023 23:43:58 +0100 Subject: [PATCH] cluster/services/ipfs: add dns records --- cluster/services/ipfs/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cluster/services/ipfs/default.nix b/cluster/services/ipfs/default.nix index 3d85384..faad0a0 100644 --- a/cluster/services/ipfs/default.nix +++ b/cluster/services/ipfs/default.nix @@ -49,4 +49,10 @@ address = "https://bafybeiczsscdsbs7ffqz55asqdf3smv6klcw3gofszvwlyarci47bgf354.ipfs.${depot.lib.meta.domain}/"; module = "https2xx"; }; + + dns.records = { + p2p.consulService = "ipfs-gateway"; + ".*\\.ipfs".consulService = "ipfs-gateway"; + ".*\\.ipns".consulService = "ipfs-gateway"; + }; }