]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Change cron e-mail
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 9 Dec 2019 23:27:55 +0000 (00:27 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 9 Dec 2019 23:27:55 +0000 (00:27 +0100)
modules/private/system/backup-2.nix
modules/private/system/eldiron.nix

index 1b7f136c76bca46e89bacb988dfc3ace93fdfa46..5d692c65287e42060ab23a84d7cd2ffba32809c1 100644 (file)
     };
   };
 
+  services.cron = {
+    mailto = "cron@immae.eu";
+    enable = true;
+  };
+
   services.rsyncBackup = {
     mountpoint = "/backup2";
     mailto = myconfig.env.rsync_backup.mailto;
index d79cf166dc5e889170988a8f5e1639b1201a5fb7..bf4cefb14cf9a291530274caed746843d4aa89e5 100644 (file)
@@ -59,6 +59,7 @@
 
   services.cron = {
     enable = true;
+    mailto = "cron@immae.eu";
     systemCronJobs = [
       ''
         # The star after /var/lib/* avoids deleting all folders in case of problem