era-configuration-nix/ipfs.nix

12 lines
175 B
Nix
Raw Normal View History

2017-06-23 22:11:57 +02:00
{ config, pkgs, ... }:
{
2017-06-23 23:44:07 +02:00
networking.firewall.allowedTCPPorts = [
4001 # This is IPFS swarm port
];
2017-06-23 22:11:57 +02:00
services.ipfs = {
enable = true;
enableGC = true;
};
}