diff options
Diffstat (limited to 'configuration.nix')
| -rw-r--r-- | configuration.nix | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/configuration.nix b/configuration.nix index 654583ab..16d3248c 100644 --- a/configuration.nix +++ b/configuration.nix @@ -459,27 +459,8 @@ in { ]; }; - logrotate = { + cron = { enable = true; - extraConfig = '' - compress - - /tmp/*.euandreh.log { - rotate 5 - daily - olddir /home/andreh/archive/logs/cron/ - createolddir 744 andreh users - su andreh users - } - - /home/andreh/.bash_history { - rotate 30 - daily - olddir /home/andreh/archive/bash_history/ - createolddir 744 andreh users - su andreh users - } - ''; # Keep this so that when the "mail" command fails I also get a notification email mailto = "eu@euandre.org"; systemCronJobs = [ |
