This website requires JavaScript.
Explore
Help
Sign in
c6ristian
/
nix-infra
Watch
0
Star
0
Fork
You've already forked nix-infra
0
forked from
CCCHH/nix-infra
Code
Pull requests
Activity
aa25b300e3
nix-infra
/
config
/
hosts
/
netbox
/
postgresql.nix
8 lines
93 B
Nix
Raw
Normal View
History
Unescape
Escape
Add and run script for upgrading PostgreSQL of netbox host The script is a modified version of the script shown in the PostgreSQL Upgrading section of the NixOS manual. Our version is for upgrading PostgreSQL 14 to 15. Basically do steps 1-3 of the section. Link to the section: https://nixos.org/manual/nixos/stable/#module-services-postgres-upgrading
2023-12-06 01:06:43 +01:00
{
pkgs
,
config
,
.
.
.
}:
{
Set PostgreSQL package to PostgreSQL 15 for netbox host Also remove the upgrade script again. Bascially do steps 4 and 5 of the following section of the manual: https://nixos.org/manual/nixos/stable/#module-services-postgres-upgrading
2023-12-06 01:11:25 +01:00
services
.
postgresql
=
{
package
=
pkgs
.
postgresql_15
;
}
;
Add and run script for upgrading PostgreSQL of netbox host The script is a modified version of the script shown in the PostgreSQL Upgrading section of the NixOS manual. Our version is for upgrading PostgreSQL 14 to 15. Basically do steps 1-3 of the section. Link to the section: https://nixos.org/manual/nixos/stable/#module-services-postgres-upgrading
2023-12-06 01:06:43 +01:00
}
Copy permalink