🔧 aristotle: ipfs cluster api config

This commit is contained in:
2022-12-16 18:44:26 -05:00
parent 8ca1a40ef0
commit aa73269bee
3 changed files with 18 additions and 16 deletions

View File

@ -116,8 +116,10 @@ in
[ "" "${pkgs.ipfs-cluster}/bin/ipfs-cluster-service daemon" ];
User = cfg.user;
Group = cfg.group;
} // optionalAttrs (cfg.secretFile != null) {
EnvironmentFile = cfg.secretFile;
};
};
networking.firewall.allowedTCPPorts = mkIf cfg.openSwarmPort [ 9096 ];
networking.firewall.allowedTCPPorts = mkIf cfg.openSwarmPort [ 9094 9096 ];
};
}