Increase log retention to a month

This commit is contained in:
2023-09-09 08:18:48 +02:00
parent 6189015df2
commit 8de5ae1ffa

View File

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