remove hosted element call

This commit is contained in:
Henry Hiles 2026-10-06 15:18:59 -04:00
commit 7da5d9252e
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
2 changed files with 20 additions and 40 deletions

View file

@ -1,12 +1,10 @@
{ {
lib, lib,
pkgs,
config, config,
... ...
}: }:
let let
domain = "call.federated.nexus";
livekitDomain = "livekit.call.federated.nexus"; livekitDomain = "livekit.call.federated.nexus";
lkJwtServiceDomain = "lk-jwt.call.federated.nexus"; lkJwtServiceDomain = "lk-jwt.call.federated.nexus";
in in
@ -40,24 +38,6 @@ in
caddy.virtualHosts = { caddy.virtualHosts = {
"${livekitDomain}".extraConfig = "reverse_proxy 127.0.0.1:7880"; "${livekitDomain}".extraConfig = "reverse_proxy 127.0.0.1:7880";
"${lkJwtServiceDomain}".extraConfig = "reverse_proxy 127.0.0.1:8080"; "${lkJwtServiceDomain}".extraConfig = "reverse_proxy 127.0.0.1:8080";
"${domain}".extraConfig = ''
root * ${pkgs.element-call}
route {
respond /config.json `${
builtins.toJSON {
default_server_config = {
"m.homeserver" = {
"base_url" = config.services.matrix-continuwuity.settings.global.well_known.client;
"server_name" = config.quad.matrix.domain;
};
};
}
}` 200
try_files {path} {path}/ /index.html
file_server
}
'';
}; };
}; };
} }

40
flake.lock generated
View file

@ -163,11 +163,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1791042740, "lastModified": 1791234266,
"narHash": "sha256-7g60/dw/yZSNmefshOOjJyYkB5lk48Dzoo77WAJY4Sw=", "narHash": "sha256-HffiypKF2Fnw9V3crcxtBTtQWQ9s+JHGkE3qrZa8gUo=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "d83da6ada74c6d85e1e8779fd64b043170e7ec15", "rev": "ae2e71ff45aa6fee62a619c247d384a4f3330a21",
"revCount": 7876, "revCount": 7898,
"type": "git", "type": "git",
"url": "https://forgejo.ellis.link/continuwuation/continuwuity" "url": "https://forgejo.ellis.link/continuwuation/continuwuity"
}, },
@ -221,11 +221,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1791054374, "lastModified": 1791141988,
"narHash": "sha256-XfI4Axi97KSRaP18KlZXtda8bX4XJ3Ydo8b9/Vwxplw=", "narHash": "sha256-YjjsBr/20jFkYeQs0Y+64rofMrYY98XDDJn8L34HT2A=",
"owner": "degoog-org", "owner": "degoog-org",
"repo": "degoog", "repo": "degoog",
"rev": "4a9bcc74f0fceaa33efbab4777f063274cce23d6", "rev": "f25bdd0235b1f5b3d669cd9360d730e07a89fdf8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -322,11 +322,11 @@
"firefox-gnome-theme": { "firefox-gnome-theme": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1783570805, "lastModified": 1791153453,
"narHash": "sha256-ptl5aRlCv9/uRSv2u8Hq8UFVFeZ6Q/bT049bpqNgc3w=", "narHash": "sha256-FEr8AziQBAgXGOHkXjbNMZ5zB06AwiOZCrbyoulC1eo=",
"owner": "rafaelmardojai", "owner": "rafaelmardojai",
"repo": "firefox-gnome-theme", "repo": "firefox-gnome-theme",
"rev": "5602ed62d638142c1ab31dccd01dfbfb28841225", "rev": "3d92d85960e8a45b37780ef4721f0459fe4764cf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -704,11 +704,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1790989254, "lastModified": 1791227480,
"narHash": "sha256-ZN+riaeFuE+DZ5zfqJiXlM12jLwZzeIXiNkU1YeHMXI=", "narHash": "sha256-+lrD+sxc2RKUWXRBAcggn7uBCFeJgnV75jD/cz7gJRA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "acd21c5a3420a9d5fd0ed06299b10828267ef9ba", "rev": "aa23f720d022187228bc264f759aef6b80233bcf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -768,11 +768,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1791053062, "lastModified": 1791234056,
"narHash": "sha256-ZPZ+PX79JWfsEOpI1VTDQVrNNfvYW07NxDgALNUi2bc=", "narHash": "sha256-eOl058DdvMuu3mjUH4GWqe7UTMCLw1hX1lhDtVOVlrE=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "bdac4a11d761365a075871550250409fbdab55fb", "rev": "3c6c610f7c0b094b3746cd9305c46b3c7dac768a",
"revCount": 956, "revCount": 983,
"submodules": true, "submodules": true,
"type": "git", "type": "git",
"url": "https://git.federated.nexus/Nexus/nexus" "url": "https://git.federated.nexus/Nexus/nexus"
@ -1012,11 +1012,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1790822859, "lastModified": 1791179034,
"narHash": "sha256-69xHQhAeMAD2wDXO7T2pcOZIF9Sga2W+JkmY2a11Ops=", "narHash": "sha256-Ni0LBydzaCi8oek12r4mVreuFHqYlM1eTD6SfiENKfw=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c59305bab2065cfecc4944690d9eedbb56f3a9fa", "rev": "494ce7fd23ff6a5dff39e1fb11e9b6f2ac74bf25",
"type": "github" "type": "github"
}, },
"original": { "original": {