feat: hectic-lab: users for matrix

This commit is contained in:
2026-05-22 21:19:52 +00:00
parent 09ed045da9
commit 51d40841ce
4 changed files with 100 additions and 7 deletions

View File

@@ -63,6 +63,15 @@ in {
port = 5432;
initialEnvFile = config.sops.secrets."init-postgresql".path;
};
users = {
yukkop = {
passwordFile = config.sops.secrets."matrix/users/yukkop/password".path;
admin = true;
};
liquiz = {
passwordFile = config.sops.secrets."matrix/users/liquiz/password".path;
};
};
inherit matrixDomain;
};
};
@@ -137,6 +146,7 @@ in {
};
sops.secrets."matrix/secrets" = {
key = "matrix/secrets";
owner = "matrix-synapse";
};
sops.secrets."matrix/turn-secret" = {
key = "matrix/turn-secret";
@@ -144,6 +154,14 @@ in {
group = "turnserver";
mode = "0400";
};
sops.secrets."matrix/users/yukkop/password" = {
key = "matrix/users/yukkop/password";
owner = "matrix-synapse";
};
sops.secrets."matrix/users/liquiz/password" = {
key = "matrix/users/liquiz/password";
owner = "matrix-synapse";
};
services.mailserver = {
enable = true;