⬆ upgrade to postgresql 18

This commit is contained in:
walkah committed 2026-11-16 16:01:26 -05:00
1 parent faa6ed11b8
commit da3c75f34c
3 files changed
+15 -14

No files matched your search

Generated
+12 -12
View File
@@ -60,11 +60,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1794278858, "lastModified": 1794715309,
"narHash": "sha256-rkrJwLgLSHBnXfgoSKIDa+2LLGdTqynsV3GAxOTGhUU=", "narHash": "sha256-awkBBs5ctFKgEYjpNGpi3t/VqF589n5EWfdinRb2gNI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "82ce401aa350502897c3f2e85f384d61cd3b0b6d", "rev": "a1293da7dd8e497e08d26173f97e2976b36a31ea",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -116,11 +116,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1794222723, "lastModified": 1794597451,
"narHash": "sha256-jehPADpSIsWnyNHw/s44OHF9l6Y75QmW74sqO9cEe0A=", "narHash": "sha256-bUkc9dMpCFiJuuf5Efr7pnCDs5q18aA8zJah+MYZl9w=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "919c16cf46a7acf9b44b2c2444bc39aa094eaa85", "rev": "eb3c90bd715f7a9a28719bb014f53d309ccb2fc8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -131,11 +131,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1793977579, "lastModified": 1794644783,
"narHash": "sha256-WrSODdZFVIs/Hh2NzC0bY+ROByi0bATg8WfePX8dPj8=", "narHash": "sha256-3GnIGIy15bMduoS9RnWqKTmsJLWThla42UFtm0S7+us=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4fe25e12eb9f4c744966dd3de5a05246cf098601", "rev": "5d2b81a7a3be3e2f832879028e4d60abbf58e9a0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -185,11 +185,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1794261845, "lastModified": 1794624949,
"narHash": "sha256-Ivif/kuD68yEOKcZZG3zSwNMFUuIgzUgeJuzcHrQy+8=", "narHash": "sha256-3q/hxp/flW1PnV3Dx+H3p8kHGEHJ7251BqVMNsAAB9E=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "fe7b4228405aeac2ce7192c2049a6e2bc8637082", "rev": "11e5885d241743ff0193465d533b20e754bc3ce0",
"type": "github" "type": "github"
}, },
"original": { "original": {
+1
View File
@@ -91,6 +91,7 @@ in
postgresql = { postgresql = {
enable = true; enable = true;
package = pkgs.postgresql_18;
}; };
postgresqlBackup = { postgresqlBackup = {
+2 -2
View File
@@ -3,7 +3,7 @@
services = { services = {
postgresql = { postgresql = {
enable = true; enable = true;
package = pkgs.postgresql_14; package = pkgs.postgresql_18;
}; };
postgresqlBackup = { postgresqlBackup = {
@@ -17,7 +17,7 @@
let let
# XXX specify the postgresql package you'd like to upgrade to. # XXX specify the postgresql package you'd like to upgrade to.
# Do not forget to list the extensions you need. # Do not forget to list the extensions you need.
newPostgres = pkgs.postgresql_15; newPostgres = pkgs.postgresql_18;
in in
pkgs.writeScriptBin "upgrade-pg-cluster" '' pkgs.writeScriptBin "upgrade-pg-cluster" ''
set -eux set -eux