]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/system/backup-2.nix
Change cron e-mail
[perso/Immae/Config/Nix.git] / modules / private / system / backup-2.nix
index 3d51fa3bdaf2305fbf0b9bc4d2edde6060d4ec40..5d692c65287e42060ab23a84d7cd2ffba32809c1 100644 (file)
     };
   };
 
+  services.cron = {
+    mailto = "cron@immae.eu";
+    enable = true;
+  };
+
   services.rsyncBackup = {
     mountpoint = "/backup2";
     mailto = myconfig.env.rsync_backup.mailto;
         };
       };
     };
+    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