summary refs log tree commit diff stats
path: root/system/secrets/default.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-07-24 12:52:57 +0200
committersils <sils@sils.li>2023-07-24 12:52:57 +0200
commit98b152e9c15b56795419abde6e7b1f30def3d3d7 (patch)
tree185aa36d311d86dbcc11b9ac40b842d3609103c2 /system/secrets/default.nix
parentchore(version): v0.4.0 (diff)
downloadnixos-server-mautrix-telegram.tar.gz
nixos-server-mautrix-telegram.zip
Feat(system): Add initial mautrix-telegram config mautrix-telegram
This won't work and isn't supposed to, in fact this commit is designed
to be squashed or rebased. The config in
system/services/matrix/bridges/mautrix-telegram/default.nix is mainly
copy-pasted from nixos-wiki.
Diffstat (limited to '')
-rw-r--r--system/secrets/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/secrets/default.nix b/system/secrets/default.nix
index 5cd401c..39f4a65 100644
--- a/system/secrets/default.nix
+++ b/system/secrets/default.nix
@@ -13,6 +13,12 @@
         owner = "matrix-synapse";
         group = "matrix-synapse";
       };
+      mautrix-telegram_environment_file = {
+        file = ./mautrix-telegram/passwd.tix;
+        mode = "700";
+        owner = "mautrix-telegram";
+        group = "mautrix-telegram";
+      };
     };
   };
 }