Upgrade postgres

This commit is contained in:
Sandro - 2023-01-07 05:27:40 +01:00
parent 8744b4dfe7
commit f6b293e1a3
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 6 additions and 2 deletions

View File

@ -6,8 +6,6 @@
networking.hostName = "mobilizon";
services.postgresql.package = pkgs.postgresql_13;
services.mobilizon = {
enable = true;
settings.":mobilizon".":instance" = {
@ -42,5 +40,11 @@
};
};
services.postgresql = {
extraPlugins = with config.services.postgresql.package.pkgs; [ postgis ];
package = pkgs.postgresql_15;
upgrade.stopServices = [ "mobilizon" ];
};
system.stateVersion = "22.05";
}