IPFS: Difference between revisions
imported>JackyWangMislantiaJnirvana No edit summary |
Add instructions for adding the user to the correct group |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
== Installation == | == Installation == | ||
Install and enable ''kubo'' | Install and enable ''kubo'' (which is the recommended IPFS implementation) and add your user to the correct group | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
services.kubo = { | services.kubo = { | ||
enable = true; | enable = true; | ||
}; | |||
users.users.alice.extraGroups = [ config.services.kubo.group ]; | |||
</syntaxhighlight> | </syntaxhighlight> | ||
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 and for your user to become part of the ipfs group. Until you do that, the CLI tools won't be able to talk to the daemon by default. | |||
== Usage == | == Usage == |