aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/configuration.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix
index 36e2cb1..ba0054f 100644
--- a/nixos/configuration.nix
+++ b/nixos/configuration.nix
@@ -311,7 +311,13 @@
services = {
cron.enable = true;
# We can see the actual generated crontab at /etc/crontab
- cron.systemCronJobs = ["0 * * * * andreh /home/andreh/annex/dev/code/dotfiles/scripts/mail.sh -s"];
+ cron.systemCronJobs = [
+ # Sync emails with mbsync every hour
+ "0 * * * * andreh /home/andreh/annex/dev/code/dotfiles/scripts/mail.sh -s"
+
+ # Make read-only copy of TODOs.org every hour
+ "0 * * * * andreh /home/andreh/annex/dev/code/dotfiles/scripts/cp-todos.sh -s"
+ ];
xserver = {
enable = true;