Increase log retention to a month

This commit is contained in:
coolneng 2023-09-09 08:18:15 +02:00
parent 724fb20316
commit 0aae0cfe45
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 2 deletions

View File

@ -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 = {