Fix matrix and caddy not restarting on config file updates
diff --git a/modules/matrix.nix b/modules/matrix.nix
index 4be396e..81cc257 100644
--- a/modules/matrix.nix
+++ b/modules/matrix.nix
@@ -82,6 +82,8 @@
           "${base.config.systemd.services.matrix-synapse.preStart}"
       );
 
+      systemd.services.matrix-synapse.restartTriggers = [ synapse_cfgfile ];
+
       environment.systemPackages =
         with lib; let
           cfg = config.services.matrix-synapse;