From 851f25966e419564e2288c6dc675d0954da7e8cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 2 May 2019 02:43:40 +0200 Subject: Adapt postgresql overlay Many packages depend on postgresql but are not tied to custom version --- nixops/modules/databases/postgresql.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nixops') diff --git a/nixops/modules/databases/postgresql.nix b/nixops/modules/databases/postgresql.nix index 0afce70..b113e9f 100644 --- a/nixops/modules/databases/postgresql.nix +++ b/nixops/modules/databases/postgresql.nix @@ -14,6 +14,10 @@ in { }; config = lib.mkIf cfg.enable { + nixpkgs.overlays = [ (self: super: rec { + postgresql = self.postgresql_11_custom; + }) ]; + networking.firewall.allowedTCPPorts = [ 5432 ]; security.acme.certs."postgresql" = config.services.myCertificates.certConfig // { -- cgit v1.2.3