Skip to content

Commit d169125

Browse files
committed
non-critical-infra: lasuite-meet init
1 parent d5fb9ab commit d169125

2 files changed

Lines changed: 47 additions & 0 deletions

File tree

non-critical-infra/hosts/caliban/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
../../modules/backup.nix
1717
../../modules/element-web.nix
1818
../../modules/limesurvey.nix
19+
../../modules/lasuite-meet.nix
1920
../../modules/matrix-synapse.nix
2021
../../modules/owncast.nix
2122
../../modules/vaultwarden.nix
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
config,
3+
...
4+
}:
5+
{
6+
sops.secrets = {
7+
lasuite-django-secret = {
8+
sopsFile = ../secrets/lasuite-django-secret.caliban;
9+
format = "binary";
10+
restartUnits = [ "lasuite.service" ];
11+
};
12+
#TODO: find out
13+
lasuite-livekit = {
14+
sopsFile = ../secrets/lasuite-livekit.caliban;
15+
format = "binary";
16+
restartUnits = [ "lasuite.service" ];
17+
};
18+
};
19+
20+
services.lasuite-meet = {
21+
enable = true;
22+
domain = "lasuite-meet.nixos.org";
23+
secretKeyPath = config.sops.secrets.lasuite-django-secret.path;
24+
25+
livekit = {
26+
enable = true;
27+
keyFile = config.sops.secrets.lasuite-livekit-keyfile.path;
28+
};
29+
30+
# Databases
31+
postgresql.createLocally = true;
32+
redis.createLocally = true;
33+
34+
settings = {
35+
LIVEKIT_API_URL = "https://${config.services.lasuite-meet.domain}/livekit";
36+
LIVEKIT_API_KEY = config.sops.secrets.lasuite-meet-livekit.name;
37+
38+
FRONTEND_IS_SILENT_LOGIN_ENABLED = true;
39+
};
40+
};
41+
42+
services.nginx.virtualHosts."lasuite-meet" = {
43+
enableACME = true;
44+
forceSSL = true;
45+
};
46+
}

0 commit comments

Comments
 (0)