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

@ -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];
}