From be6c5774b4304d0921d780aec6f84c65f41dd616 Mon Sep 17 00:00:00 2001 From: Sense T Date: Wed, 19 Jul 2023 07:08:34 +0000 Subject: [PATCH] ipfs? --- global/software-configuration.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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/"; + }; }; }; };