Compare commits
No commits in common. "d95a25c61f210839036bbce53fa5007ed359b86d" and "cc1b9f47949b8d0dc8a8bcb8f2280a3964eeeebc" have entirely different histories.
d95a25c61f
...
cc1b9f4794
|
@ -53,14 +53,6 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
|
||||
ensureDatabases = ["matrix-synapse"];
|
||||
ensureUsers = [
|
||||
{
|
||||
name = "matrix-synapse";
|
||||
ensurePermissions."DATABASE matrix-synapse" = "ALL PRIVILEGES";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
services.postgresqlBackup = {
|
||||
|
@ -282,7 +274,8 @@ in {
|
|||
|
||||
my.services.restic-backup = let
|
||||
dataDir = config.services.matrix-synapse.dataDir;
|
||||
in {
|
||||
in
|
||||
mkIf cfg.enable {
|
||||
paths = [dataDir];
|
||||
# this is just caching for other servers media, doesn't need backup
|
||||
exclude = ["${dataDir}/media/remote_*"];
|
||||
|
|
Loading…
Reference in a new issue