diff --git a/modules/ipfs/default.nix b/modules/ipfs/default.nix index 9a6314c..ed55017 100644 --- a/modules/ipfs/default.nix +++ b/modules/ipfs/default.nix @@ -42,6 +42,25 @@ in { "/dnsaddr/bootstrap.libp2p.io/p2p/QmbLHAnMoJPWSCR5Zhtx6BHJX9KiKNN6tpvbUcqanj75Nb" "/dnsaddr/bootstrap.libp2p.io/p2p/QmQCU2EcMqAqQPR2i9bChDtGNJchTbq5TbXJJ16u19uLTa" ]; + Datastore = { + BloomFilterSize = 0; + GCPeriod = "1h"; + HashOnRead = false; + NoSync = true; + Spec = { + mounts = []; + child = { + path = "badgerds"; + syncWrites = false; + truncate = true; + type = "badgerds"; + }; + prefix = "badger.datastore"; + type = "measure"; + }; + StorageGCWatermark = 90; + StorageMax = "200GB"; + }; }; };