minor cleanup
This commit is contained in:
parent
08a9547c0b
commit
4e26f2df34
1 changed files with 3 additions and 8 deletions
|
@ -2,12 +2,7 @@
|
||||||
root_host = "grimmauld.de";
|
root_host = "grimmauld.de";
|
||||||
bridge_port = 9005; # netstat -nlp | grep 9005
|
bridge_port = 9005; # netstat -nlp | grep 9005
|
||||||
in {
|
in {
|
||||||
age.secrets = {
|
age.secrets.matrix_discord_bridge_token.file = ../secrets/matrix_discord_bridge_token.age;
|
||||||
matrix_discord_bridge_token = {
|
|
||||||
file = ../secrets/matrix_discord_bridge_token.age;
|
|
||||||
# mode = "0600";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.matrix-synapse-next.settings.app_service_config_files = [ "/var/lib/matrix-synapse/discord-registration.yaml" ];
|
services.matrix-synapse-next.settings.app_service_config_files = [ "/var/lib/matrix-synapse/discord-registration.yaml" ];
|
||||||
|
|
||||||
|
@ -20,11 +15,11 @@ in {
|
||||||
bridge = {
|
bridge = {
|
||||||
enableSelfServiceBridging = true;
|
enableSelfServiceBridging = true;
|
||||||
domain = root_host;
|
domain = root_host;
|
||||||
homeserverUrl = "https://grimmauld.de"; # fixme does this work? Potentially need root_host instead
|
homeserverUrl = "https://${root_host}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
port = bridge_port;
|
port = bridge_port;
|
||||||
localpart = "_discord_bot"; # fixme
|
localpart = "_discord_bot";
|
||||||
environmentFile = config.age.secrets.matrix_discord_bridge_token.path;
|
environmentFile = config.age.secrets.matrix_discord_bridge_token.path;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue