From 16b80abd57bb215d0e72f3983f997a007743b8fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 8 Dec 2019 16:22:56 +0100 Subject: Add openldap replication --- modules/private/system/backup-2.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'modules/private/system') diff --git a/modules/private/system/backup-2.nix b/modules/private/system/backup-2.nix index 3d51fa3..1b7f136 100644 --- a/modules/private/system/backup-2.nix +++ b/modules/private/system/backup-2.nix @@ -87,6 +87,18 @@ }; }; }; + openldap = { + enable = true; + base = "/backup2"; + hosts = { + eldiron = { + url = "ldaps://${myconfig.env.ldap.host}:636"; + dn = myconfig.env.ldap.replication_dn; + password = myconfig.env.ldap.replication_pw; + base = myconfig.env.ldap.base; + }; + }; + }; }; # This value determines the NixOS release with which your system is -- cgit v1.2.3