From 653eb2d606e8e77fb489d34ff7cfa69d7b8a29fa Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Sat, 4 Apr 2026 22:56:58 -0400 Subject: [PATCH] oops --- modules/services/matrix/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/services/matrix/default.nix b/modules/services/matrix/default.nix index 2b1bc9b..f5ef97f 100644 --- a/modules/services/matrix/default.nix +++ b/modules/services/matrix/default.nix @@ -36,4 +36,13 @@ in networking.firewall.allowedTCPPorts = [ 8448 ]; users.users.caddy.extraGroups = [ "tuwunel" ]; + + services.caddy = { + enable = true; + virtualHosts = { + "psychal.link, psychal.link:8448".extraConfig = '' + reverse_proxy unix//run/tuwunel/tuwunel.sock + ''; + }; + }; }