Increase log retention to a month
This commit is contained in:
parent
724fb20316
commit
0aae0cfe45
|
@ -66,8 +66,8 @@ with pkgs;
|
|||
# Clean tmp directory on shutdown
|
||||
boot.tmp.cleanOnBoot = true;
|
||||
|
||||
# Keep logs for a week
|
||||
services.journald.extraConfig = "MaxRetentionSec=1week";
|
||||
# Keep logs for a month
|
||||
services.journald.extraConfig = "MaxRetentionSec=4week";
|
||||
|
||||
# Scrub zpool monthly
|
||||
services.zfs.autoScrub = {
|
||||
|
|
Loading…
Reference in New Issue