tsuki/mx-puppet-discord: remove
This commit is contained in:
parent
2a388e29a5
commit
7f36a1b8c8
@ -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" ];
|
||||
};
|
||||
};
|
||||
}
|
@ -1,7 +1,6 @@
|
||||
{ pkgs, lib, config, secrets, ... }: {
|
||||
|
||||
imports = [
|
||||
./bridges/mx-puppet-discord.nix
|
||||
./bridges/matrix-appservice-irc.nix
|
||||
|
||||
./maunium-stickerpicker.nix
|
||||
@ -75,7 +74,6 @@
|
||||
# TODO: Figure out a way to do this declaratively.
|
||||
# The files need to be owned by matrix-synapse
|
||||
app_service_config_files = [
|
||||
"/var/lib/matrix-synapse/discord-registration.yaml"
|
||||
"/var/lib/matrix-synapse/irc-registration.yml"
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user