idk some stuff, mostly 25.11 and opencode stuff
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
{
|
||||
self,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
# Native NixOS 25.11 mautrix-discord module
|
||||
# Replaces the nix-matrix-appservices discord configuration
|
||||
services.mautrix-discord = {
|
||||
enable = true;
|
||||
registerToSynapse = true;
|
||||
settings = {
|
||||
homeserver = {
|
||||
address = "https://sealight.xyz";
|
||||
domain = "sealight.xyz";
|
||||
};
|
||||
appservice = {
|
||||
id = "discord";
|
||||
bot_username = "discordbridge";
|
||||
address = "http://localhost:29188";
|
||||
port = 29188;
|
||||
# Uses SQLite by default, can switch to PostgreSQL:
|
||||
# database = "postgresql:///mautrix-discord?host=/run/postgresql";
|
||||
};
|
||||
bridge = {
|
||||
permissions = {
|
||||
"@aynish:sealight.xyz" = "admin";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user