Compare commits

...

2 commits

2 changed files with 4 additions and 3 deletions

View file

@ -85,6 +85,9 @@ in {
type = "postgres"; type = "postgres";
# user needs to be the same as gitea user # user needs to be the same as gitea user
user = giteaUser; user = giteaUser;
# FIXME: change database name to match 23.11 postgres changes around ensureDatabase
createDatabase = false;
socket = "/run/postgresql";
}; };
}; };
@ -102,7 +105,7 @@ in {
# NOTE: no need to use postgresql.ensureDatabases because the gitea module # NOTE: no need to use postgresql.ensureDatabases because the gitea module
# takes care of this automatically # takes care of this automatically
services.postgresqlBackup = { services.postgresqlBackup = {
databases = ["gitea"]; databases = [config.services.gitea.database.name];
}; };
services.nginx = { services.nginx = {

View file

@ -62,8 +62,6 @@ in {
services.nextcloud = { services.nextcloud = {
enable = true; enable = true;
enableBrokenCiphersForSSE = false;
hostName = "cloud.${domain}"; hostName = "cloud.${domain}";
https = true; https = true;
package = pkgs.nextcloud26; package = pkgs.nextcloud26;