This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

1{ ... }: 2{ 3 # Full kubo (IPFS) node. Data lives under /var/lib/ipfs on the 4 TB root. 4 # Uploads are copied into the blockstore (NO filestore/--nocopy on this host). 5 services.kubo = { 6 enable = true; 7 dataDir = "/var/lib/ipfs"; 8 # No automatic GC: content is pinned on upload and only reclaimed by the 9 # explicit `ipfs-gc` command (see ipfs-endpoint.nix). 10 settings = { 11 Addresses = { 12 API = [ "/ip4/127.0.0.1/tcp/5001" ]; 13 Gateway = [ "/ip4/127.0.0.1/tcp/8089" ]; 14 }; 15 # Serve only local/pinned blocks -> the public gateway is not an open 16 # proxy for arbitrary network CIDs. 17 Gateway.NoFetch = true; 18 # participate in the public swarm/DHT 19 Datastore.StorageMax = "500GB"; 20 }; 21 }; 22 23 # incoming swarm connections (TCP + QUIC/UDP on 4001) 24 networking.firewall.allowedTCPPorts = [ 4001 ]; 25 networking.firewall.allowedUDPPorts = [ 4001 ]; 26}