aboutsummaryrefslogtreecommitdiff
path: root/modules/private
diff options
context:
space:
mode:
Diffstat (limited to 'modules/private')
-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