modules: services: add postgresql

Enable the service itself in other modules when needed, but pin the
package in a single place.
This commit is contained in:
Bruno BELANYI 2021-07-29 12:05:51 +02:00
parent 820b52314f
commit 9f00d8a38e
4 changed files with 20 additions and 1 deletions

View file

@ -81,6 +81,7 @@ in
users.groups.drone = { };
services.postgresql = {
enable = true;
ensureDatabases = [ "drone" ];
ensureUsers = [{
name = "drone";