diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-12-05 00:51:45 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-12-05 00:51:45 +0100 |
commit | 9f6a78629aad1d22dc8b928860fd05eb40f07352 (patch) | |
tree | 25c918ccd80eeb3e04d5d0c3ed4815ff3de5dcae /modules/private/databases/default.nix | |
parent | 304a7dac48405d63a5d20466d4afc7ba04d11164 (diff) | |
download | Nix-9f6a78629aad1d22dc8b928860fd05eb40f07352.tar.gz Nix-9f6a78629aad1d22dc8b928860fd05eb40f07352.tar.zst Nix-9f6a78629aad1d22dc8b928860fd05eb40f07352.zip |
Add mysql replication
Diffstat (limited to 'modules/private/databases/default.nix')
-rw-r--r-- | modules/private/databases/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/private/databases/default.nix b/modules/private/databases/default.nix index d1d6a2b..7371410 100644 --- a/modules/private/databases/default.nix +++ b/modules/private/databases/default.nix | |||
@@ -21,6 +21,10 @@ in | |||
21 | inherit (myconfig.env.ldap) host base; | 21 | inherit (myconfig.env.ldap) host base; |
22 | inherit (myconfig.env.databases.mysql.pam) dn filter password; | 22 | inherit (myconfig.env.databases.mysql.pam) dn filter password; |
23 | }; | 23 | }; |
24 | replicationLdapConfig = { | ||
25 | inherit (myconfig.env.ldap) host base; | ||
26 | inherit (myconfig.env.ldap.eldiron) dn password; | ||
27 | }; | ||
24 | credentials.root = myconfig.env.databases.mysql.systemUsers.root; | 28 | credentials.root = myconfig.env.databases.mysql.systemUsers.root; |
25 | }; | 29 | }; |
26 | 30 | ||