tsuki/mx-puppet-discord: remove

This commit is contained in:
Oystein Kristoffer Tveit 2024-06-09 15:55:20 +02:00
parent 2a388e29a5
commit 7f36a1b8c8
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
2 changed files with 0 additions and 48 deletions

View File

@ -1,46 +0,0 @@
{ config, ... }:
{
services.mx-puppet-discord = {
enable = false;
serviceDependencies = [
"matrix-synapse.service"
"postgresql.service"
];
settings = {
bridge = {
bindAddress = "localhost";
domain = "nani.wtf";
# TODO: connect via localhost
homeserverUrl = "https://matrix.nani.wtf";
port = 8434;
enableGroupSync = true;
};
database.connString = "postgres://mx-puppet-discord:@localhost:${toString config.services.postgresql.port}/mx-puppet-discord?sslmode=disable";
namePatterns = {
room = ":name";
user = ":name";
userOverride = ":displayname";
group = ":name";
};
presence = {
enabled = true;
interval = 500;
};
logging = {
console = "info";
lineDateFormat = "MMM-D HH:mm:ss.SSS";
};
provisioning.whitelist = [ "@h7x4:nani\\.wtf" ];
relay.whitelist = [ "@h7x4:nani\\.wtf" ];
selfService.whitelist = [ "@h7x4:nani\\.wtf" ];
};
};
}

View File

@ -1,7 +1,6 @@
{ pkgs, lib, config, secrets, ... }: { { pkgs, lib, config, secrets, ... }: {
imports = [ imports = [
./bridges/mx-puppet-discord.nix
./bridges/matrix-appservice-irc.nix ./bridges/matrix-appservice-irc.nix
./maunium-stickerpicker.nix ./maunium-stickerpicker.nix
@ -75,7 +74,6 @@
# TODO: Figure out a way to do this declaratively. # TODO: Figure out a way to do this declaratively.
# The files need to be owned by matrix-synapse # The files need to be owned by matrix-synapse
app_service_config_files = [ app_service_config_files = [
"/var/lib/matrix-synapse/discord-registration.yaml"
"/var/lib/matrix-synapse/irc-registration.yml" "/var/lib/matrix-synapse/irc-registration.yml"
]; ];