Compare commits

..

2 commits

View file

@ -95,18 +95,8 @@ in {
]; ];
}; };
services.postgresql = { # NOTE: no need to use postgresql.ensureDatabases because the gitea module
enable = true; # takes care of this automatically
ensureDatabases = ["gitea"];
ensureUsers = [
{
name = "git";
ensurePermissions."DATABASE gitea" = "ALL PRIVILEGES";
}
];
};
services.postgresqlBackup = { services.postgresqlBackup = {
databases = ["gitea"]; databases = ["gitea"];
}; };