Compare commits

...

2 commits

2 changed files with 6 additions and 0 deletions

View file

@ -73,6 +73,10 @@ in {
privatePort = 8080; privatePort = 8080;
}; };
postgresql-backup = {
enable = true;
};
restic-backup = { restic-backup = {
enable = true; enable = true;
repo = "b2:hades-backup-alarsyo"; repo = "b2:hades-backup-alarsyo";

View file

@ -95,6 +95,8 @@ in {
]; ];
}; };
# NOTE: no need to use postgresql.ensureDatabases because the gitea module
# takes care of this automatically
services.postgresqlBackup = { services.postgresqlBackup = {
databases = ["gitea"]; databases = ["gitea"];
}; };