moved ipfs modules to kubo and ipfs-cluster submodules

This commit is contained in:
boyreau 2026-09-02 08:29:01 +02:00
commit 88637fe95b
4 changed files with 19 additions and 2 deletions

6
modules/ipfs/default.nix Normal file
View file

@ -0,0 +1,6 @@
{
imports = [
./kubo.nix
./ipfs-cluster.nix
];
}

View file

@ -0,0 +1,11 @@
{
services.ipfs-cluster = {
enable = true;
consensus = "crdt";
};
networking.firewall.interfaces."tailscale0".allowedTCPPorts = [
9096
9094
];
}

View file

@ -1,6 +1,6 @@
let
npins = import /etc/nixos/npins/default.nix;
pkgs-unstable = import npins.nixpkgs-unstable { };
pkgs-unstable = import npins.nixpkgs-unstable { }; # TODO remove once kubo-0.43 is stable
in
{
warnings = [