diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-02 02:17:28 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-02 02:17:28 +0200 |
commit | c1b6f97a72e0b4897ce11414df28259d4ea3c5ab (patch) | |
tree | f0fb690030fd261b32798f5084220a7f83a3fe61 /nixops/modules/databases/postgresql.nix | |
parent | 5010032101ed3bceaa40fb0a631066e8098c1d7e (diff) | |
download | Nix-c1b6f97a72e0b4897ce11414df28259d4ea3c5ab.tar.gz Nix-c1b6f97a72e0b4897ce11414df28259d4ea3c5ab.tar.zst Nix-c1b6f97a72e0b4897ce11414df28259d4ea3c5ab.zip |
Move some overlays to parent directory
Diffstat (limited to 'nixops/modules/databases/postgresql.nix')
-rw-r--r-- | nixops/modules/databases/postgresql.nix | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/nixops/modules/databases/postgresql.nix b/nixops/modules/databases/postgresql.nix index 62e9e34..0afce70 100644 --- a/nixops/modules/databases/postgresql.nix +++ b/nixops/modules/databases/postgresql.nix | |||
@@ -14,18 +14,6 @@ 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 = postgresql_11; | ||
19 | postgresql_11 = super.postgresql_11.overrideAttrs(old: rec { | ||
20 | passthru = old.passthru // { psqlSchema = "11.0"; }; | ||
21 | configureFlags = old.configureFlags ++ [ "--with-pam" ]; | ||
22 | buildInputs = (old.buildInputs or []) ++ [ self.pam ]; | ||
23 | patches = old.patches ++ [ | ||
24 | ./postgresql_run_socket_path.patch | ||
25 | ]; | ||
26 | }); | ||
27 | }) ]; | ||
28 | |||
29 | networking.firewall.allowedTCPPorts = [ 5432 ]; | 17 | networking.firewall.allowedTCPPorts = [ 5432 ]; |
30 | 18 | ||
31 | security.acme.certs."postgresql" = config.services.myCertificates.certConfig // { | 19 | security.acme.certs."postgresql" = config.services.myCertificates.certConfig // { |