element call done
This commit is contained in:
parent
8f0c07c950
commit
c160964c18
6 changed files with 42 additions and 44 deletions
|
@ -3,11 +3,13 @@
|
|||
config,
|
||||
...
|
||||
}: {
|
||||
services = {
|
||||
services = let
|
||||
domain = "call.henryhiles.com";
|
||||
in {
|
||||
lk-jwt-service = {
|
||||
enable = true;
|
||||
livekit = {
|
||||
url = "wss://call.henryhiles.com/livekit/sfu";
|
||||
url = "wss://${domain}/livekit/sfu";
|
||||
keyFile = config.age.secrets."livekitKeys.age".path;
|
||||
};
|
||||
};
|
||||
|
@ -17,7 +19,7 @@
|
|||
keyFile = config.age.secrets."livekitKeys.age".path;
|
||||
};
|
||||
|
||||
caddy.virtualHosts."call.henryhiles.com".extraConfig = ''
|
||||
caddy.virtualHosts."${domain}".extraConfig = ''
|
||||
root * ${pkgs.element-call}
|
||||
route {
|
||||
respond /config.json `${builtins.toJSON {
|
||||
|
@ -27,7 +29,7 @@
|
|||
"server_name" = "henryhiles.com";
|
||||
};
|
||||
};
|
||||
livekit.livekit_service_url = "https://call.henryhiles.com/livekit";
|
||||
livekit.livekit_service_url = "https://${domain}/livekit";
|
||||
}}` 200
|
||||
|
||||
handle /livekit/sfu/get {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
services = let
|
||||
domain = "vaultwarden.henryhiles.com";
|
||||
domain = "vault.henryhiles.com";
|
||||
in {
|
||||
vaultwarden = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue