diff options
| author | andromeda <andromeda@lenovo> | 2026-04-03 21:26:04 +0200 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2026-04-03 21:26:04 +0200 |
| commit | 2ef56f1479e8b64fc656b29e89fbdec3969c8078 (patch) | |
| tree | a858066f1122bc436c84ca63ed37f01761289bba /modules/nixos/matrix-continuwuity.nix | |
| parent | de1879b9a0b9a412068785d81cc17bbf947d0eef (diff) | |
tidy a bit
Diffstat (limited to 'modules/nixos/matrix-continuwuity.nix')
| -rw-r--r-- | modules/nixos/matrix-continuwuity.nix | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/modules/nixos/matrix-continuwuity.nix b/modules/nixos/matrix-continuwuity.nix deleted file mode 100644 index 2b9a785..0000000 --- a/modules/nixos/matrix-continuwuity.nix +++ /dev/null @@ -1,26 +0,0 @@ -{config, ...}: { - services = { - matrix-continuwuity = { - enable = true; - settings = { - global = { - server_name = "${config.networking.domain}"; - address = ["127.0.0.1"]; - port = [6167]; - well_known = { - server = "matrix.${config.networking.domain}"; - client = "https://matrix.${config.networking.domain}"; - }; - }; - }; - }; - - nginx = { - upstreams.matrix.servers."127.0.0.1:6167" = {}; - virtualHosts = { - "matrix.${config.networking.domain}".locations."/".proxyPass = "http://matrix"; - "${config.networking.domain}".locations."/.well-known/matrix".proxyPass = "http://matrix"; - }; - }; - }; -} |
