From 4227853a03923e04daf3dd511a4b5a1ab5d527e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Tue, 10 Dec 2019 00:27:55 +0100 Subject: Change cron e-mail --- modules/private/system/backup-2.nix | 5 +++++ modules/private/system/eldiron.nix | 1 + 2 files changed, 6 insertions(+) (limited to 'modules/private') diff --git a/modules/private/system/backup-2.nix b/modules/private/system/backup-2.nix index 1b7f136..5d692c6 100644 --- a/modules/private/system/backup-2.nix +++ b/modules/private/system/backup-2.nix @@ -41,6 +41,11 @@ }; }; + services.cron = { + mailto = "cron@immae.eu"; + enable = true; + }; + services.rsyncBackup = { mountpoint = "/backup2"; mailto = myconfig.env.rsync_backup.mailto; diff --git a/modules/private/system/eldiron.nix b/modules/private/system/eldiron.nix index d79cf16..bf4cefb 100644 --- a/modules/private/system/eldiron.nix +++ b/modules/private/system/eldiron.nix @@ -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 -- cgit v1.2.3