System Gen52 @ 2026-09-03-20:49:48 by jonas@harbor

This commit is contained in:
2026-09-03 20:49:51 +02:00
parent f4877e912b
commit af602d372a
3 changed files with 3 additions and 34 deletions
+3 -11
View File
@@ -29,14 +29,11 @@
type = lib.types.str;
description = "The sops key of the secret containing the hostname of the hidden service";
};
hiddenServiceSecret = lib.mkOption {
type = lib.types.path;
description = "The file containing the hidden service's secret";
};
ketesaHiddenServiceSecret = lib.mkOption {
type = lib.types.path;
description = "The file containing the ketesa hidden service's secret";
};
};
config = lib.mkIf cfg.enable {
@@ -60,14 +57,8 @@
port = cfg.localPort;
};
}
];
};
relay.onionServices.ketesa = {
secretKey = cfg.ketesaHiddenServiceSecret;
version = 3;
map = [
{
port = 80;
port = 8080;
target = {
addr = "127.0.0.1";
port = cfg.ketesaLocalPort;
@@ -123,6 +114,7 @@
report_stats = false;
federation_domain_whitelist = [];
federation_ip_range_blacklist = ["0.0.0.0/0"];
matrix_static_files_file_matrix_support_enabled = true;
};
extraConfigFiles = [