ops/nixos: enable IPFS filestore on all nodes
This commit is contained in:
parent
a2cfdb62b9
commit
25774139d1
3 changed files with 5 additions and 0 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue