Remove default users and databases from Postgresql

This commit is contained in:
coolneng 2020-12-29 16:11:03 +01:00
parent ddfc988cc5
commit 4be986e43e
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 0 additions and 11 deletions

View File

@ -149,17 +149,6 @@
services.postgresql = {
enable = true;
package = pkgs.postgresql_11;
ensureDatabases = [ "gitea" "wallabag" ];
ensureUsers = [
{
name = "gitea";
ensurePermissions = { "DATABASE gitea" = "ALL PRIVILEGES"; };
}
{
name = "wallabag";
ensurePermissions = { "DATABASE wallabag" = "ALL PRIVILEGES"; };
}
];
authentication = lib.mkForce ''
# Generated file; do not edit!
# TYPE DATABASE USER ADDRESS METHOD