Increase log retention to a month

This commit is contained in:
coolneng 2023-09-09 08:18:48 +02:00
parent 6189015df2
commit 8de5ae1ffa
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 2 deletions

View File

@ -91,8 +91,8 @@ with pkgs;
]; ];
}; };
# Keep logs for a week # Keep logs for a month
services.journald.extraConfig = "MaxRetentionSec=1week"; services.journald.extraConfig = "MaxRetentionSec=4week";
# Increase inotify limits and maximum buffer size # Increase inotify limits and maximum buffer size
boot.kernel.sysctl = { boot.kernel.sysctl = {