diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-17 01:43:18 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-17 01:43:18 +0200 |
commit | 9ade8f6eb774dc7d19d82a070199b5024786b819 (patch) | |
tree | e5a2d49050d4a426fa1d0412d88bbfab11b500d3 /modules/private/databases/postgresql.nix | |
parent | 182ae57f53731be220075bc87aff4d47a35563b8 (diff) | |
download | Nix-9ade8f6eb774dc7d19d82a070199b5024786b819.tar.gz Nix-9ade8f6eb774dc7d19d82a070199b5024786b819.tar.zst Nix-9ade8f6eb774dc7d19d82a070199b5024786b819.zip |
Use acme directory config rather than hardcoding the value
Diffstat (limited to 'modules/private/databases/postgresql.nix')
-rw-r--r-- | modules/private/databases/postgresql.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/private/databases/postgresql.nix b/modules/private/databases/postgresql.nix index 26242a8..8c36d84 100644 --- a/modules/private/databases/postgresql.nix +++ b/modules/private/databases/postgresql.nix | |||
@@ -73,8 +73,8 @@ in { | |||
73 | lc_time = 'en_US.UTF-8' | 73 | lc_time = 'en_US.UTF-8' |
74 | default_text_search_config = 'pg_catalog.english' | 74 | default_text_search_config = 'pg_catalog.english' |
75 | ssl = on | 75 | ssl = on |
76 | ssl_cert_file = '/var/lib/acme/postgresql/fullchain.pem' | 76 | ssl_cert_file = '${config.security.acme.directory}/postgresql/fullchain.pem' |
77 | ssl_key_file = '/var/lib/acme/postgresql/key.pem' | 77 | ssl_key_file = '${config.security.acme.directory}/postgresql/key.pem' |
78 | ''; | 78 | ''; |
79 | authentication = '' | 79 | authentication = '' |
80 | local all postgres ident | 80 | local all postgres ident |