summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2020-11-29 21:21:54 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2020-11-29 21:28:07 +0100
commit752b6a95db93f03d6901304f760bd452b4b7db41 (patch)
tree8c80e0a22d285dbb373c937631ef02dacc521f2a
parent878e80c5962b42b7b10a20a98f98319a72cb5031 (diff)
downloadnixpkgs-752b6a95db93f03d6901304f760bd452b4b7db41.tar
nixpkgs-752b6a95db93f03d6901304f760bd452b4b7db41.tar.gz
nixpkgs-752b6a95db93f03d6901304f760bd452b4b7db41.tar.bz2
nixpkgs-752b6a95db93f03d6901304f760bd452b4b7db41.tar.lz
nixpkgs-752b6a95db93f03d6901304f760bd452b4b7db41.tar.xz
nixpkgs-752b6a95db93f03d6901304f760bd452b4b7db41.tar.zst
nixpkgs-752b6a95db93f03d6901304f760bd452b4b7db41.zip
nixos/mautrix-telegram: update defaults
These three defaults must exist in the config now, otherwise
`mautrix-telegram` will refuse to start.
-rw-r--r--nixos/modules/services/misc/mautrix-telegram.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/misc/mautrix-telegram.nix b/nixos/modules/services/misc/mautrix-telegram.nix
index c5e8a5b85ec..caeb4b04164 100644
--- a/nixos/modules/services/misc/mautrix-telegram.nix
+++ b/nixos/modules/services/misc/mautrix-telegram.nix
@@ -21,6 +21,7 @@ in {
         default = {
           appservice = rec {
             database = "sqlite:///${dataDir}/mautrix-telegram.db";
+            database_opts = {};
             hostname = "0.0.0.0";
             port = 8080;
             address = "http://localhost:${toString port}";
@@ -29,6 +30,8 @@ in {
           bridge = {
             permissions."*" = "relaybot";
             relaybot.whitelist = [ ];
+            double_puppet_server_map = {};
+            login_shared_secret_map = {};
           };
 
           logging = {