era-configuration-nix/ipfs.nix

12 lines
176 B
Nix

{ config, pkgs, ... }:
{
networking.firewall.allowedTCPPorts = [
4001 # This is IPFS swarm port
];
services.ipfs = {
enable = false;
enableGC = true;
};
}