Upgrade postgres
This commit is contained in:
parent
8744b4dfe7
commit
f6b293e1a3
|
@ -6,8 +6,6 @@
|
||||||
|
|
||||||
networking.hostName = "mobilizon";
|
networking.hostName = "mobilizon";
|
||||||
|
|
||||||
services.postgresql.package = pkgs.postgresql_13;
|
|
||||||
|
|
||||||
services.mobilizon = {
|
services.mobilizon = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.":mobilizon".":instance" = {
|
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";
|
system.stateVersion = "22.05";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue