⬆️ upgrade to pg12
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
virtualisation.oci-containers = {
|
||||
containers = {
|
||||
home-assistant = {
|
||||
image = "ghcr.io/home-assistant/home-assistant:2022.5.5";
|
||||
image = "ghcr.io/home-assistant/home-assistant:2022.6.4";
|
||||
volumes =
|
||||
[ "/var/lib/hass:/config" "/etc/localtime:/etc/localtime:ro" ];
|
||||
extraOptions = [ "--privileged" "--network=host" ];
|
||||
|
@ -2,6 +2,7 @@
|
||||
services = {
|
||||
postgresql = {
|
||||
enable = true;
|
||||
package = pkgs.postgresql_12;
|
||||
};
|
||||
|
||||
postgresqlBackup = {
|
||||
@ -17,7 +18,7 @@
|
||||
systemctl stop postgresql
|
||||
|
||||
# XXX replace `<new version>` with the psqlSchema here
|
||||
export NEWDATA="/var/lib/postgresql/11.1"
|
||||
export NEWDATA="/var/lib/postgresql/12"
|
||||
|
||||
# XXX specify the postgresql package you'd like to upgrade to
|
||||
export NEWBIN="${pkgs.postgresql_12}/bin"
|
||||
|
Reference in New Issue
Block a user