aboutsummaryrefslogtreecommitdiff
path: root/nixops
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-02 02:43:40 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-02 02:43:59 +0200
commit851f25966e419564e2288c6dc675d0954da7e8cf (patch)
tree61527f980722691be22bc0d70586fdcc33c004a2 /nixops
parentc1b6f97a72e0b4897ce11414df28259d4ea3c5ab (diff)
downloadNix-851f25966e419564e2288c6dc675d0954da7e8cf.tar.gz
Nix-851f25966e419564e2288c6dc675d0954da7e8cf.tar.zst
Nix-851f25966e419564e2288c6dc675d0954da7e8cf.zip
Adapt postgresql overlay
Many packages depend on postgresql but are not tied to custom version
Diffstat (limited to 'nixops')
-rw-r--r--nixops/modules/databases/postgresql.nix4
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 // {