postgres: only configure datadir once
This commit is contained in:
parent
7671566751
commit
9d0fa026f0
5 changed files with 6 additions and 9 deletions
|
@ -73,7 +73,6 @@
|
|||
};
|
||||
postgresql = {
|
||||
enable = true;
|
||||
dataDir = "${config.chvp.dataPrefix}/var/lib/postgresql/${config.services.postgresql.package.psqlSchema}";
|
||||
ensureDatabases = [ "grafana" ];
|
||||
ensureUsers = [{
|
||||
name = "grafana";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue