X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fdatabases%2Fdefault.nix;h=73714107ff519ee70d82e3752f033e63429fb0a4;hb=9f6a78629aad1d22dc8b928860fd05eb40f07352;hp=b2739bfbc4784aaa0e0e119d8b9565d862ccdf08;hpb=8183b8bb5a16d0a4c41ef1d0b821b5cbbf7af37d;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/databases/default.nix b/modules/private/databases/default.nix index b2739bf..7371410 100644 --- a/modules/private/databases/default.nix +++ b/modules/private/databases/default.nix @@ -21,6 +21,10 @@ in inherit (myconfig.env.ldap) host base; inherit (myconfig.env.databases.mysql.pam) dn filter password; }; + replicationLdapConfig = { + inherit (myconfig.env.ldap) host base; + inherit (myconfig.env.ldap.eldiron) dn password; + }; credentials.root = myconfig.env.databases.mysql.systemUsers.root; }; @@ -38,8 +42,8 @@ in inherit (myconfig.env.databases.postgresql.pam) dn filter password; }; replicationLdapConfig = { - inherit (myconfig.env.ldap) host base password; - dn = myconfig.env.ldap.host_dn; + inherit (myconfig.env.ldap) host base; + inherit (myconfig.env.ldap.eldiron) dn password; }; authorizedHosts = { immaeEu = [{