diff --git a/modules/services/matrix/default.nix b/modules/services/matrix/default.nix index af26a83..b7a114c 100644 --- a/modules/services/matrix/default.nix +++ b/modules/services/matrix/default.nix @@ -206,5 +206,9 @@ in config.services.matrix-synapse.dataDir ]; }; + + my.system.persist.directories = [ + config.services.matrix-synapse.dataDir + ]; }; }