retire btc and xmr nodes

This commit is contained in:
root 2025-11-08 20:06:24 +00:00
parent 24de6d6d64
commit 9d41477805
5 changed files with 15 additions and 45 deletions

View file

@ -25,7 +25,7 @@
<a href="https://paste.distrust.network/">[clearnet]</a></small></li>
<li>Self-Serve Password Changes <small><a href="http://i3a47orggn2cebueja2jur66yjgyqd2y7kzthajar4ghuerbx2kzwqyd.onion/">[tor]</a> <a href="https://login.distrust.network">[clearnet]</a></small></li>
</ul>
<p>We also host nodes for <a href="https://bitnodes.io/nodes/157.173.124.100-8333/" class="external">Bitcoin (BTC)</a>, <a class="external"><a href="https://xmr.distrust.network/get_info" title="Only available at https://xmr.distrust.network over clearnet. Port 18081 over TOR" class="hover">Monero (XMR)</a></a>, an <a class="external"><a href="https://ipfs.distrust.network/ipfs/Qmc5gCcjYypU7y28oCALwfSvxCBskLuPKWpK4qpterKC7z" title="Only available at https://ipfs.distrust.network over clearnet. Port 8080 over TOR" class="hover">IPFS gateway</a></a>, and a <a href="https://metrics.torproject.org/rs.html#details/DF11EEF85A2B3AD56716D89D00380D9FC5EA0740" class="external">TOR relay</a>
<p>We also host an <a href="https://ipfs.distrust.network/ipfs/Qmc5gCcjYypU7y28oCALwfSvxCBskLuPKWpK4qpterKC7z" title="Gateway only available at https://ipfs.distrust.network over clearnet. Port 8080 over TOR" class="hover">IPFS</a> node, and a <a href="https://metrics.torproject.org/rs.html#details/DF11EEF85A2B3AD56716D89D00380D9FC5EA0740" class="external">TOR relay</a>
to strengthen their respective networks. They are all available over clearnet and TOR using this main webpages <a title="157.173.124.100, 2a02:c207:2288:2816::1" class="hover">IP</a>
and <a title="distrustdtp5qgbk2firlzfkkmu5p6v6acuh2ox454zd2i3ujdqad5yd.onion" class="hover">.onion URL</a>.</p>
<p>All services have a strict no-metrics policy, with logs being kept for <a title="See NixOS config below." class="hover">at most 1 hour</a> (for debugging purposes).</p>

View file

@ -1,13 +1,6 @@
{
services.caddy = {
enable = true;
#globalConfig = ''
# pki {
# ca local {
# name "Distrust CA"
# }
# }
#'';
};
networking.firewall.allowedTCPPorts = [80 443];

View file

@ -1,35 +0,0 @@
{
services = {
bitcoind."default" = {
enable = true;
prune = 100000;
};
monero = {
enable = true;
prune = true;
rpc.restricted = true;
};
kubo.enable = true;
tor.relay.onionServices."site".map = [
4001
8080
8333
18080
18081
];
caddy.virtualHosts = {
"xmr.distrust.network".extraConfig = ''
reverse_proxy localhost:18081
'';
"ipfs.distrust.network".extraConfig = ''
reverse_proxy localhost:8080
'';
};
};
networking.firewall.allowedTCPPorts = [4001 8333 18080];
}

View file

@ -1,12 +1,12 @@
{
imports = [
# Core System
./caddy.nix
./borg.nix
./caddy.nix
# Non-Stateful
./ipfs.nix
./site.nix
./crypto.nix
./tor.nix
# Stateful

12
services/ipfs.nix Normal file
View file

@ -0,0 +1,12 @@
{
services = {
kubo.enable = true;
tor.relay.onionServices."site".map = [
4001
8080
];
};
networking.firewall.allowedTCPPorts = [4001];
}