diff options
author | EuAndreh <eu@euandre.org> | 2019-05-18 23:10:32 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-05-19 01:56:54 -0300 |
commit | f6b508cc67c79b225d88f66c0fbfce787c80ace2 (patch) | |
tree | 396325b716411ec16d1d89713ae097c8f8aeb5d6 /nixos/configuration.nix | |
parent | Add cljr flag for cider (diff) | |
download | dotfiles-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.nix | 7 |
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 = { |