Simplify syncthing and fix Synapse
This commit is contained in:
@@ -30,8 +30,4 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
devices = [ "nas" ];
|
devices = [ "nas" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.cron.systemCronJobs = [
|
|
||||||
"59 2 * * * root chmod -R a+r ${config.services.syncthing.folders.nextcloud-backup.path} && find ${config.services.syncthing.folders.nextcloud-backup.path} -type d -exec chmod a+x '{}' \\;"
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,8 +44,4 @@ root root postgres
|
|||||||
enable = true;
|
enable = true;
|
||||||
devices = [ "nas" ];
|
devices = [ "nas" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.cron.systemCronJobs = [
|
|
||||||
"59 2 * * * root chmod -R a+r ${config.services.postgresqlBackup.location} && find ${config.services.postgresqlBackup.location} -type d -exec chmod a+x '{}' \\;"
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ return 200 '${builtins.toJSON client}';
|
|||||||
settings = {
|
settings = {
|
||||||
database.args = {
|
database.args = {
|
||||||
user = "matrix-synapse";
|
user = "matrix-synapse";
|
||||||
name = "synapse";
|
database = "synapse";
|
||||||
};
|
};
|
||||||
server_name = "thehellings.com";
|
server_name = "thehellings.com";
|
||||||
#registration_shared_secret = "B9EoPr2WV9hzwc7uL2Sx1JmvCeKDEOGCpB0uginQcQtEH4wzRtkSIdo7lltrjSQa";
|
#registration_shared_secret = "B9EoPr2WV9hzwc7uL2Sx1JmvCeKDEOGCpB0uginQcQtEH4wzRtkSIdo7lltrjSQa";
|
||||||
|
|||||||
Reference in New Issue
Block a user