IPFS: Difference between revisions

imported>Mbledkowski
No edit summary
imported>Luflosi
Change installation instructions to match the current state of the NixOS module
Line 8: Line 8:
services.kubo = {
services.kubo = {
   enable = true;
   enable = true;
  settings.Addresses.API = ["/ip4/127.0.0.1/tcp/5001"];
};
};
</syntaxhighlight>
</syntaxhighlight>
Currently <code>settings.Addresses.API</code> need to be non-empty, otherwise Kubo will not start. See [https://github.com/ipfs/kubo/issues/10056#issuecomment-1674104498 this issue] for details.
Note that after enabling this option and rebuilding your system, you need to log out and back in for the "IPFS_PATH" environment variable to be present in your shell. Until you do that, the CLI tools won't be able to talk to the daemon by default.


== Usage ==
== Usage ==