diff --git a/docs/sites/colony/shill/containers/colony-psql.md b/docs/sites/colony/shill/containers/colony-psql.md index 864ded4..eeb49bb 100644 --- a/docs/sites/colony/shill/containers/colony-psql.md +++ b/docs/sites/colony/shill/containers/colony-psql.md @@ -5,11 +5,11 @@ database, the containers (and the `git` VM) connect here over the `ctrs` network - **Source:** [`shill/containers/colony-psql.nix`](../../../../../nixos/boxes/colony/vms/shill/containers/colony-psql.nix) - **Host:** NixOS container on [`shill`](../README.md) -- **nixpkgs:** `mine-stable`. NixOS 26.05 still packages PostgreSQL 14. +- **nixpkgs:** `mine` ## Role -- **PostgreSQL 14** with TCP/IP enabled, reachable from the whole colony address space using `md5` +- **PostgreSQL 18** with TCP/IP enabled, reachable from the whole colony address space using `md5` authentication. The firewall allows `5432`. - Local `peer` auth maps `postgres`, `root`, `netdata` and `dev` to the `postgres` superuser via the ident map. diff --git a/nixos/boxes/colony/vms/shill/containers/colony-psql.nix b/nixos/boxes/colony/vms/shill/containers/colony-psql.nix index 61251d4..96e1654 100644 --- a/nixos/boxes/colony/vms/shill/containers/colony-psql.nix +++ b/nixos/boxes/colony/vms/shill/containers/colony-psql.nix @@ -6,8 +6,7 @@ in { nixos.systems.colony-psql = { config, ... }: { system = "x86_64-linux"; - # TODO: Migrate PostgreSQL 14 to a supported major release, then return to mine. - nixpkgs = "mine-stable"; + nixpkgs = "mine"; rendered = config.configuration.config.my.asContainer; assignments = { @@ -64,7 +63,7 @@ in }; postgresql = { - package = pkgs.postgresql_14; + package = pkgs.postgresql_18; enable = true; enableTCPIP = true;