fix(gitea)?: postgres socket peer auth for gitea

This commit is contained in:
2026-05-29 20:17:08 +03:00
parent e41f0aff7e
commit 2e66319cfc

View File

@@ -340,7 +340,10 @@ in {
database = {
createDatabase = false;
type = "postgres";
user = "gitea";
name = "gitea";
socket = "/run/postgresql";
};
};
@@ -353,6 +356,9 @@ in {
ensureDBOwnership = true;
}
];
authentication = '''
local gitea gitea peer
''';
};
};