summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-05-09 19:48:19 +0200
committerRory& <root@rory.gay>2024-05-09 19:48:19 +0200
commit4803bd1b845cdde30a1179a3f92faa2d49c26a49 (patch)
treee331eb6d8aca7286bd866f9223d4deaaab9ca5de
parentEmma, stop forgetting semicolons you dork (diff)
downloadRory-Open-Architecture-4803bd1b845cdde30a1179a3f92faa2d49c26a49.tar.xz
it REALLY wants to use environmentFile...
-rwxr-xr-xflake.nix1
-rwxr-xr-xhost/Rory-nginx/services/matrix/synapse.nix1
2 files changed, 1 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index c3143bc..30f4826 100755
--- a/flake.nix
+++ b/flake.nix
@@ -63,7 +63,6 @@
         modules = [
           ./host/Rory-nginx/configuration.nix
           ./hardware-configuration.nix
-          ./secrets.nix
           home-manager.nixosModules.home-manager
         ];
         specialArgs = {
diff --git a/host/Rory-nginx/services/matrix/synapse.nix b/host/Rory-nginx/services/matrix/synapse.nix
index cd290ad..c1109aa 100755
--- a/host/Rory-nginx/services/matrix/synapse.nix
+++ b/host/Rory-nginx/services/matrix/synapse.nix
@@ -19,6 +19,7 @@ in
         "SYNCV3_DB" = "postgresql://%2Frun%2Fpostgresql/syncv3";
         "SYNCV3_BINDADDR" = "0.0.0.0:8100";
       };
+      environmentFile = "/etc/sliding-sync.env";
     };
 
     # https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html