Remove default users and databases from Postgresql
This commit is contained in:
parent
ddfc988cc5
commit
4be986e43e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue