📌 bump postgres to v14
This commit is contained in:
parent
0c4ba0a464
commit
19a4053a8c
@ -2,7 +2,7 @@
|
||||
services = {
|
||||
postgresql = {
|
||||
enable = true;
|
||||
package = pkgs.postgresql_12;
|
||||
package = pkgs.postgresql_14;
|
||||
};
|
||||
|
||||
postgresqlBackup = {
|
||||
@ -18,10 +18,10 @@
|
||||
systemctl stop postgresql
|
||||
|
||||
# XXX replace `<new version>` with the psqlSchema here
|
||||
export NEWDATA="/var/lib/postgresql/12"
|
||||
export NEWDATA="/var/lib/postgresql/14"
|
||||
|
||||
# XXX specify the postgresql package you'd like to upgrade to
|
||||
export NEWBIN="${pkgs.postgresql_12}/bin"
|
||||
export NEWBIN="${pkgs.postgresql_14}/bin"
|
||||
|
||||
export OLDDATA="${config.services.postgresql.dataDir}"
|
||||
export OLDBIN="${config.services.postgresql.package}/bin"
|
||||
|
Loading…
x
Reference in New Issue
Block a user