moved ipfs modules to kubo and ipfs-cluster submodules
This commit is contained in:
parent
6e01e14b33
commit
88637fe95b
4 changed files with 19 additions and 2 deletions
|
|
@ -1,29 +0,0 @@
|
|||
let
|
||||
npins = import /etc/nixos/npins/default.nix;
|
||||
pkgs-unstable = import npins.nixpkgs-unstable { };
|
||||
in
|
||||
{
|
||||
warnings = [
|
||||
"Ensure you added your primary user to the ipfs group !!!"
|
||||
];
|
||||
services.kubo = {
|
||||
autoMount = true;
|
||||
package = pkgs-unstable.kubo;
|
||||
enable = true;
|
||||
extraFlags = [
|
||||
"--mount-mfs"
|
||||
"/mfs"
|
||||
];
|
||||
settings = {
|
||||
Addresses.API = "/ip4/127.0.0.1/tcp/5001";
|
||||
Discovery.MDNS.Enabled = false;
|
||||
Plugins.Plugins.telemetry.Config.Mode = "off";
|
||||
Datastore.StorageMax = "10G";
|
||||
};
|
||||
};
|
||||
|
||||
# Firewall
|
||||
networking.firewall.interfaces."tailscale0".allowedTCPPorts = [
|
||||
4001
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue