services: matrix mautrix-telegram add registration
This commit is contained in:
parent
88666377d8
commit
f505e55b6b
@ -70,12 +70,12 @@ in {
|
||||
];
|
||||
}
|
||||
];
|
||||
app_service_config_files = [
|
||||
# "/var/lib/matrix-synapse/whatsapp-registration.yaml"
|
||||
config.age.secrets."services/matrix/telegram-registration.yml".path;
|
||||
# "/var/lib/matrix-synapse/signal-registration.yaml"
|
||||
];
|
||||
};
|
||||
# app_service_config_files = [
|
||||
# "/var/lib/matrix-synapse/whatsapp-registration.yaml"
|
||||
# "/var/lib/matrix-synapse/telegram-registration.yaml"
|
||||
# "/var/lib/matrix-synapse/signal-registration.yaml"
|
||||
# ];
|
||||
extraConfigFiles = [
|
||||
config.age.secrets."services/matrix/synapse.yml".path
|
||||
];
|
||||
@ -85,6 +85,10 @@ in {
|
||||
file = ../../../secrets/services/matrix/synapse.age;
|
||||
owner = "matrix-synapse";
|
||||
};
|
||||
age.secrets."services/matrix/telegram-registration.yml" = {
|
||||
file = ../../../secrets/services/matrix/telegram-registration.age;
|
||||
owner = "matrix-synapse";
|
||||
};
|
||||
|
||||
systemd.services = {
|
||||
matrix-synapse = {
|
||||
@ -94,30 +98,30 @@ in {
|
||||
|
||||
users = {
|
||||
users = {
|
||||
mautrix_whatsapp = {
|
||||
mautrix-whatsapp = {
|
||||
uid = 3001;
|
||||
group = "mautrix_whatsapp";
|
||||
group = "mautrix-whatsapp";
|
||||
isSystemUser = true;
|
||||
};
|
||||
mautrix_telegram = {
|
||||
mautrix-telegram = {
|
||||
uid = 3002;
|
||||
group = "mautrix_telegram";
|
||||
group = "mautrix-telegram";
|
||||
isSystemUser = true;
|
||||
};
|
||||
mautrix_signal = {
|
||||
mautrix-signal = {
|
||||
uid = 3003;
|
||||
group = "mautrix_signal";
|
||||
group = "mautrix-signal";
|
||||
isSystemUser = true;
|
||||
};
|
||||
};
|
||||
groups = {
|
||||
mautrix_whatsapp = {
|
||||
mautrix-whatsapp = {
|
||||
gid = 3001;
|
||||
};
|
||||
mautrix_telegram = {
|
||||
mautrix-telegram = {
|
||||
gid = 3002;
|
||||
};
|
||||
mautrix_signal = {
|
||||
mautrix-signal = {
|
||||
gid = 3003;
|
||||
};
|
||||
};
|
||||
@ -169,7 +173,7 @@ in {
|
||||
|
||||
age.secrets."services/matrix/mautrix-telegram.env" = {
|
||||
file = ../../../secrets/services/matrix/mautrix-telegram.age;
|
||||
owner = "mautrix-telegram";
|
||||
owner = "mautrix_telegram";
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -35,6 +35,7 @@ in
|
||||
"services/coturn/static-auth.age".publicKeys = servers ++ users;
|
||||
"services/matrix/synapse.age".publicKeys = servers ++ users;
|
||||
"services/matrix/mautrix-telegram.age".publicKeys = servers ++ users;
|
||||
"services/matrix/telegram-registration.age".publicKeys = servers ++ users;
|
||||
"services/nextcloud/adminpassFile.age".publicKeys = servers ++ users;
|
||||
"services/nextcloud/dbpassFile.age".publicKeys = servers ++ users;
|
||||
}
|
||||
|
Binary file not shown.
BIN
secrets/services/matrix/telegram-registration.age
Normal file
BIN
secrets/services/matrix/telegram-registration.age
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user