ops/nixos: enable IPFS filestore on all nodes

This commit is contained in:
Luke Granger-Brown 2021-01-26 11:40:36 +00:00
parent a2cfdb62b9
commit 25774139d1
3 changed files with 5 additions and 0 deletions

View file

@ -185,6 +185,7 @@ in {
extraConfig = { extraConfig = {
Discovery.MDNS.Enabled = false; Discovery.MDNS.Enabled = false;
Swarm.DisableNatPortMap = true; Swarm.DisableNatPortMap = true;
Experimental.FilestoreEnabled = true;
}; };
dataDir = "/store/ipfs"; dataDir = "/store/ipfs";
}; };

View file

@ -297,6 +297,7 @@ in {
extraConfig = { extraConfig = {
Discovery.MDNS.Enabled = false; Discovery.MDNS.Enabled = false;
Swarm.DisableNatPortMap = true; Swarm.DisableNatPortMap = true;
Experimental.FilestoreEnabled = true;
Addresses = { Addresses = {
Swarm = [ Swarm = [
"/ip4/188.165.197.49/tcp/4001" "/ip4/188.165.197.49/tcp/4001"

View file

@ -260,6 +260,9 @@ in {
services.ipfs = { services.ipfs = {
enable = true; enable = true;
dataDir = "/store/ipfs"; dataDir = "/store/ipfs";
extraConfig = {
Experimental.FilestoreEnabled = true;
};
}; };
system.stateVersion = "20.03"; system.stateVersion = "20.03";