diff options
Diffstat (limited to 'nixops')
-rw-r--r-- | nixops/modules/databases/postgresql.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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 { | |||
14 | }; | 14 | }; |
15 | 15 | ||
16 | config = lib.mkIf cfg.enable { | 16 | config = lib.mkIf cfg.enable { |
17 | nixpkgs.overlays = [ (self: super: rec { | ||
18 | postgresql = self.postgresql_11_custom; | ||
19 | }) ]; | ||
20 | |||
17 | networking.firewall.allowedTCPPorts = [ 5432 ]; | 21 | networking.firewall.allowedTCPPorts = [ 5432 ]; |
18 | 22 | ||
19 | security.acme.certs."postgresql" = config.services.myCertificates.certConfig // { | 23 | security.acme.certs."postgresql" = config.services.myCertificates.certConfig // { |