This website requires JavaScript.
Explore
Help
Sign In
CCCHH
/
nix-infra
Watch
2
Star
3
Fork
You've already forked nix-infra
3
Code
Issues
Pull requests
2
Projects
Wiki
Activity
63bb425023
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
}
Reference in a new issue
Copy permalink