From 4be986e43e5cfb93554d2f2052da84717a2f25b4 Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 29 Dec 2020 16:11:03 +0100 Subject: [PATCH] Remove default users and databases from Postgresql --- modules/webstack.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/modules/webstack.nix b/modules/webstack.nix index 79f7cd5..e2aa3cd 100644 --- a/modules/webstack.nix +++ b/modules/webstack.nix @@ -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