aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-12-10 00:27:55 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-12-10 00:27:55 +0100
commit4227853a03923e04daf3dd511a4b5a1ab5d527e7 (patch)
treee984e916b791b2adfd0cf23e0f1d7f2f1770ab61 /modules
parent086ebdf341dbe9c4976b7249b15fc349e0255d82 (diff)
downloadNix-4227853a03923e04daf3dd511a4b5a1ab5d527e7.tar.gz
Nix-4227853a03923e04daf3dd511a4b5a1ab5d527e7.tar.zst
Nix-4227853a03923e04daf3dd511a4b5a1ab5d527e7.zip
Change cron e-mail
Diffstat (limited to 'modules')
-rw-r--r--modules/private/system/backup-2.nix5
-rw-r--r--modules/private/system/eldiron.nix1
2 files changed, 6 insertions, 0 deletions
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 @@
41 }; 41 };
42 }; 42 };
43 43
44 services.cron = {
45 mailto = "cron@immae.eu";
46 enable = true;
47 };
48
44 services.rsyncBackup = { 49 services.rsyncBackup = {
45 mountpoint = "/backup2"; 50 mountpoint = "/backup2";
46 mailto = myconfig.env.rsync_backup.mailto; 51 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 @@
59 59
60 services.cron = { 60 services.cron = {
61 enable = true; 61 enable = true;
62 mailto = "cron@immae.eu";
62 systemCronJobs = [ 63 systemCronJobs = [
63 '' 64 ''
64 # The star after /var/lib/* avoids deleting all folders in case of problem 65 # The star after /var/lib/* avoids deleting all folders in case of problem