summary refs log tree commit diff stats
path: root/system/secrets/default.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-07-22 18:35:21 +0200
committersils <sils@sils.li>2023-07-22 18:37:17 +0200
commit3cf90fc622b62d5f85f490c63eb15e50f114cea5 (patch)
treeba742d11fcb3127d8024d9bc9eb42407c7a91067 /system/secrets/default.nix
parentFix(system/services/matrix): Add registration_shared_secret to register (diff)
downloadnixos-server-3cf90fc622b62d5f85f490c63eb15e50f114cea5.tar.gz
nixos-server-3cf90fc622b62d5f85f490c63eb15e50f114cea5.zip
Feat(system/secrets): Add matrix-synapse_registration_shared_secret
Diffstat (limited to 'system/secrets/default.nix')
-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 3d92fe8..5cd401c 100644
--- a/system/secrets/default.nix
+++ b/system/secrets/default.nix
@@ -7,6 +7,12 @@
         owner = "root";
         group = "root";
       };
+      matrix-synapse_registration_shared_secret = {
+        file = ./matrix-synapse/passwd.tix;
+        mode = "700";
+        owner = "matrix-synapse";
+        group = "matrix-synapse";
+      };
     };
   };
 }