diff --git a/services/crypto.nix b/services/crypto.nix index a42d926..f79fb34 100644 --- a/services/crypto.nix +++ b/services/crypto.nix @@ -11,6 +11,12 @@ }; kubo.enable = true; + + tor.relay.onionServices."site".map = [ + 8333 + 18080 + 4001 + ]; }; networking.firewall.allowedTCPPorts = [8333 18080 4001]; diff --git a/services/default.nix b/services/default.nix index 0737374..7515fd5 100644 --- a/services/default.nix +++ b/services/default.nix @@ -11,5 +11,6 @@ ./crypto.nix ./vaultwarden.nix ./mailserver.nix + ./tor.nix ]; } diff --git a/services/tor.nix b/services/tor.nix new file mode 100644 index 0000000..eb62786 --- /dev/null +++ b/services/tor.nix @@ -0,0 +1,10 @@ +{ + services.tor = { + enable = true; + relay = { + enable = true; + role = "relay"; + }; + settings.Nickname = "Distrust"; + }; +} diff --git a/site/background.png b/site/background.png new file mode 100644 index 0000000..24539d6 Binary files /dev/null and b/site/background.png differ diff --git a/site/index.html b/site/index.html index 59b2f86..1cf1be7 100755 --- a/site/index.html +++ b/site/index.html @@ -1,6 +1,7 @@ - distrust.network + Distrust +