]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/system/backup-2.nix
Add openldap replication
[perso/Immae/Config/Nix.git] / modules / private / system / backup-2.nix
index 3d51fa3bdaf2305fbf0b9bc4d2edde6060d4ec40..1b7f136c76bca46e89bacb988dfc3ace93fdfa46 100644 (file)
         };
       };
     };
+    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