aboutsummaryrefslogtreecommitdiff
path: root/nixos/configuration.nix
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-05-18 23:10:32 -0300
committerEuAndreh <eu@euandre.org>2019-05-19 01:56:54 -0300
commitf6b508cc67c79b225d88f66c0fbfce787c80ace2 (patch)
tree396325b716411ec16d1d89713ae097c8f8aeb5d6 /nixos/configuration.nix
parentAdd cljr flag for cider (diff)
downloaddotfiles-f6b508cc67c79b225d88f66c0fbfce787c80ace2.tar.gz
dotfiles-f6b508cc67c79b225d88f66c0fbfce787c80ace2.tar.xz
Add ArchiveBox setup
- add repo to mrconfig; - create daily log file; - add `archivebox` executable to $PATH; - create cronjob to run every 12 hours; - backup ~/archive/ folder. Side note: medium.com DNS resolves to an IPv6 address but rejects connections from clients that try to reach medium using it. I had to force an IPv4 connection instead.
Diffstat (limited to 'nixos/configuration.nix')
-rw-r--r--nixos/configuration.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix
index d865be4..c050ef5 100644
--- a/nixos/configuration.nix
+++ b/nixos/configuration.nix
@@ -338,11 +338,10 @@ in
# We can see the actual generated crontab at /etc/crontab
cron.systemCronJobs = [
# Sync emails with mbsync every hour
- "0 * * * * andreh /home/andreh/dev/libre/dotfiles/scripts/mail.sh -s"
-
- # Refresh local RSS files every hour
- "0 * * * * andreh /home/andreh/dev/libre/dotfiles/scripts/atom.sh"
+ "0 * * * * andreh /home/andreh/dev/libre/dotfiles/scripts/mail.sh -s"
+ # Archive Pocket data every 12 hours
+ "0 12 * * * andreh /home/andreh/dev/libre/dotfiles/scripts/archive.sh"
];
xserver = {