diff --git a/global/software-configuration.nix b/global/software-configuration.nix index 88026ab..4b16a2d 100644 --- a/global/software-configuration.nix +++ b/global/software-configuration.nix @@ -46,6 +46,12 @@ in directoryRoot = downloadDir; }; + kubo = { + enable = true; + dataDir = "/mnt/ipfs"; + enableGC = true; + }; + nginx = { enable = true; virtualHosts = { @@ -65,9 +71,23 @@ in proxyPass = "http://localhost:9091"; }; + # resilio "/sync" = { proxyPass = "http://localhost:9000"; }; + + # kubo/ipfs + "/ipfs" = { + proxyPass = "http://localhost:8080"; + }; + + "/ipns" = { + proxyPass = "http://localhost:8080"; + }; + + "/ipfs-ui" = { + proxyPass = "http://localhost:5001/webui/"; + }; }; }; };