Remove matrix-appservice-slack
This commit is contained in:
parent
0415c86f9f
commit
fd5a556633
4 changed files with 0 additions and 44 deletions
|
@ -19,12 +19,6 @@
|
||||||
client_max_body_size 10M;
|
client_max_body_size 10M;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
"/_slack" = {
|
|
||||||
proxyPass = "http://127.0.0.1:9898";
|
|
||||||
extraConfig = ''
|
|
||||||
proxy_set_header X-Forwarded-Ssl on;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
"~ ^/_hookshot/(.*)" = {
|
"~ ^/_hookshot/(.*)" = {
|
||||||
proxyPass = "http://127.0.0.1:9000/$1";
|
proxyPass = "http://127.0.0.1:9000/$1";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
@ -60,7 +54,6 @@
|
||||||
suppress_key_server_warning = true;
|
suppress_key_server_warning = true;
|
||||||
app_service_config_files = [
|
app_service_config_files = [
|
||||||
config.age.secrets."files/services/matrix-synapse/whatsapp-registration.yml".path
|
config.age.secrets."files/services/matrix-synapse/whatsapp-registration.yml".path
|
||||||
config.age.secrets."files/services/matrix-synapse/slack-registration.yml".path
|
|
||||||
config.age.secrets."files/services/matrix-synapse/hookshot-registration.yml".path
|
config.age.secrets."files/services/matrix-synapse/hookshot-registration.yml".path
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -73,14 +66,9 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
ensureDatabases = [
|
ensureDatabases = [
|
||||||
"matrix-synapse"
|
"matrix-synapse"
|
||||||
"matrix-appservice-slack"
|
|
||||||
"mautrix-whatsapp"
|
"mautrix-whatsapp"
|
||||||
];
|
];
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
|
||||||
name = "matrix-appservice-slack";
|
|
||||||
ensureDBOwnership = true;
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
name = "mautrix-whatsapp";
|
name = "mautrix-whatsapp";
|
||||||
ensureDBOwnership = true;
|
ensureDBOwnership = true;
|
||||||
|
@ -94,17 +82,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services = {
|
systemd.services = {
|
||||||
matrix-appservice-slack = {
|
|
||||||
description = "Matrix <-> Slack bridge";
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
|
||||||
after = [ "network.target" "postgresql.service" "matrix-synapse.service" ];
|
|
||||||
requires = [ "postgresql.service" "matrix-synapse.service" ];
|
|
||||||
script = "${pkgs.matrix-appservice-slack}/bin/matrix-appservice-slack --config ${config.age.secrets."files/services/matrix-appservice-slack/config.yml".path} --file ${config.age.secrets."files/services/matrix-appservice-slack/registration.yml".path}";
|
|
||||||
serviceConfig = {
|
|
||||||
User = "matrix-appservice-slack";
|
|
||||||
Group = "matrix-appservice-slack";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
matrix-synapse = {
|
matrix-synapse = {
|
||||||
requires = [ "postgresql.service" ];
|
requires = [ "postgresql.service" ];
|
||||||
};
|
};
|
||||||
|
@ -135,12 +112,6 @@
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
users = {
|
users = {
|
||||||
matrix-appservice-slack = {
|
|
||||||
group = "matrix-appservice-slack";
|
|
||||||
home = "/var/lib/matrix-appservice-slack";
|
|
||||||
createHome = true;
|
|
||||||
isSystemUser = true;
|
|
||||||
};
|
|
||||||
mautrix-whatsapp = {
|
mautrix-whatsapp = {
|
||||||
group = "mautrix-whatsapp";
|
group = "mautrix-whatsapp";
|
||||||
home = "/var/lib/mautrix-whatsapp";
|
home = "/var/lib/mautrix-whatsapp";
|
||||||
|
@ -155,20 +126,11 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
groups = {
|
groups = {
|
||||||
matrix-appservice-slack = { };
|
|
||||||
matrix-hookshot = { };
|
matrix-hookshot = { };
|
||||||
mautrix-whatsapp = { };
|
mautrix-whatsapp = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
age.secrets."files/services/matrix-appservice-slack/config.yml" = {
|
|
||||||
file = ../../../../secrets/files/services/matrix-appservice-slack/config.yml.age;
|
|
||||||
owner = "matrix-appservice-slack";
|
|
||||||
};
|
|
||||||
age.secrets."files/services/matrix-appservice-slack/registration.yml" = {
|
|
||||||
file = ../../../../secrets/files/services/matrix-appservice-slack/registration.yml.age;
|
|
||||||
owner = "matrix-appservice-slack";
|
|
||||||
};
|
|
||||||
age.secrets."files/services/matrix-hookshot/config.yml" = {
|
age.secrets."files/services/matrix-hookshot/config.yml" = {
|
||||||
file = ../../../../secrets/files/services/matrix-hookshot/config.yml.age;
|
file = ../../../../secrets/files/services/matrix-hookshot/config.yml.age;
|
||||||
owner = "matrix-hookshot";
|
owner = "matrix-hookshot";
|
||||||
|
@ -194,10 +156,6 @@
|
||||||
file = ../../../../secrets/files/services/matrix-synapse/config.yml.age;
|
file = ../../../../secrets/files/services/matrix-synapse/config.yml.age;
|
||||||
owner = "matrix-synapse";
|
owner = "matrix-synapse";
|
||||||
};
|
};
|
||||||
age.secrets."files/services/matrix-synapse/slack-registration.yml" = {
|
|
||||||
file = ../../../../secrets/files/services/matrix-appservice-slack/registration.yml.age;
|
|
||||||
owner = "matrix-synapse";
|
|
||||||
};
|
|
||||||
age.secrets."files/services/matrix-synapse/whatsapp-registration.yml" = {
|
age.secrets."files/services/matrix-synapse/whatsapp-registration.yml" = {
|
||||||
file = ../../../../secrets/files/services/mautrix-whatsapp/registration.yml.age;
|
file = ../../../../secrets/files/services/mautrix-whatsapp/registration.yml.age;
|
||||||
owner = "matrix-synapse";
|
owner = "matrix-synapse";
|
||||||
|
|
|
@ -76,8 +76,6 @@ in
|
||||||
|
|
||||||
"secrets/files/programs/transmission/config.json.age".publicKeys = [ elendel ] ++ users;
|
"secrets/files/programs/transmission/config.json.age".publicKeys = [ elendel ] ++ users;
|
||||||
|
|
||||||
"secrets/files/services/matrix-appservice-slack/config.yml.age".publicKeys = [ marabethia ] ++ users;
|
|
||||||
"secrets/files/services/matrix-appservice-slack/registration.yml.age".publicKeys = [ marabethia ] ++ users;
|
|
||||||
"secrets/files/services/matrix-hookshot/config.yml.age".publicKeys = [ marabethia ] ++ users;
|
"secrets/files/services/matrix-hookshot/config.yml.age".publicKeys = [ marabethia ] ++ users;
|
||||||
"secrets/files/services/matrix-hookshot/passkey.pem.age".publicKeys = [ marabethia ] ++ users;
|
"secrets/files/services/matrix-hookshot/passkey.pem.age".publicKeys = [ marabethia ] ++ users;
|
||||||
"secrets/files/services/matrix-hookshot/registration.yml.age".publicKeys = [ marabethia ] ++ users;
|
"secrets/files/services/matrix-hookshot/registration.yml.age".publicKeys = [ marabethia ] ++ users;
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue