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:
parent
58240e2304
commit
7f1e728606
@ -74,7 +74,7 @@ in
|
||||
};
|
||||
|
||||
dataDir = mkOption {
|
||||
default = "/var/db/postgresql";
|
||||
default = "/var/db/postgresql-${cfg.package.psqlSchema}";
|
||||
description = ''
|
||||
Data directory for PostgreSQL.
|
||||
'';
|
||||
|
Loading…
x
Reference in New Issue
Block a user