summary refs log tree commit diff
path: root/hosts/vps/services/matrix.nix
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-07-30 18:25:45 +0300
committertzlil <tzlils@protonmail.com>2023-07-30 18:25:45 +0300
commit6f4af85daec2e1db5be2668d15b5f851b436a35b (patch)
tree9082bc2971d50d60f7debbb44dbf6b23bb753c52 /hosts/vps/services/matrix.nix
parentf72f22b250ecf22657ffc9e6082086377031ea8a (diff)
uhhhh
Diffstat (limited to 'hosts/vps/services/matrix.nix')
-rw-r--r--hosts/vps/services/matrix.nix24
1 files changed, 2 insertions, 22 deletions
diff --git a/hosts/vps/services/matrix.nix b/hosts/vps/services/matrix.nix
index e2aa1a5..005040f 100644
--- a/hosts/vps/services/matrix.nix
+++ b/hosts/vps/services/matrix.nix
@@ -2,32 +2,12 @@
   pkgs,
   config,
   lib,
+  inputs,
   ...
 }: {
   config = {
-    # services.matrix-synapse = {
-    #   enable = true;
-    #   settings.server_name = config.networking.domain;
-    #   settings.listeners = [
-    #     {
-    #       port = 8008;
-    #       bind_addresses = ["::1"];
-    #       type = "http";
-    #       tls = false;
-    #       x_forwarded = true;
-    #       resources = [
-    #         {
-    #           names = ["client" "federation"];
-    #           compress = true;
-    #         }
-    #       ];
-    #     }
-    #   ];
-    # };
-    # networking.firewall.allowedTCPPorts = [80 443];
-
     age.secrets.matrix = {
-      file = ../../secrets/matrix.age;
+      file = "${inputs.self}/secrets/matrix.age";
       mode = "600";
       owner = "root";
       group = "root";