era-configuration-nix/ipfs.nix

12 lines
176 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 = {
2017-07-30 17:19:06 +02:00
enable = false;
2017-06-23 22:11:57 +02:00
enableGC = true;
};
}