postgresql: version the dataDir by default

Among other things, this will make migrating between versions easier

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2013-04-05 07:55:02 -04:00
parent 58240e2304
commit 7f1e728606

View File

@ -74,7 +74,7 @@ in
};
dataDir = mkOption {
default = "/var/db/postgresql";
default = "/var/db/postgresql-${cfg.package.psqlSchema}";
description = ''
Data directory for PostgreSQL.
'';