prep for distrust-mini

This commit is contained in:
root 2025-11-09 23:46:49 +00:00
parent bfc55f27f3
commit 142ccc2d41
17 changed files with 209 additions and 163 deletions

View file

@ -1,6 +1,9 @@
{ config, ... }:
let
kumaPort = 3001;
in {
age.secrets."hidden_service/uptime-kuma".file = ../../secrets/hidden_service/uptime-kuma;
services.uptime-kuma = {
enable = true;
settings = {
@ -11,8 +14,8 @@ in {
distrust.services."uptime-kuma" = {
url = "http://uptime.distrust.network";
onion = {
url = "http://uxp5y2l7g3jv2x7f4j5zv3j5x7z5z7z5z5z5z5z5z5z5z5z5z5z5z5z5z5.onion";
secretKey = null;
url = "http://dstrst6d56jb7y7bmd77fcq73x43e6euphf74qzjvvn43j67ugydd2id.onion";
secretKey = config.age.secrets."hidden_service/uptime-kuma".path;
};
virtualHostConfig = ''
reverse_proxy localhost:${toString kumaPort}