diff options
| author | EuAndreh <eu@euandre.org> | 2022-01-04 15:33:29 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2022-01-04 15:33:29 -0300 |
| commit | 02b8066587f6d3f77d616a6059ff710ce7bbcc39 (patch) | |
| tree | b7fcd5977176177abeb33adad0126d2bc0a30861 /configuration.nix | |
| parent | configuration.nix: Add custom driver for printer (diff) | |
| download | dotfiles-02b8066587f6d3f77d616a6059ff710ce7bbcc39.tar.gz dotfiles-02b8066587f6d3f77d616a6059ff710ce7bbcc39.tar.xz | |
configuration.nix: Remove logrotate configuration
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 = [ |
