From 8de5ae1ffa0244a2564afa90d260c552802af758 Mon Sep 17 00:00:00 2001 From: coolneng Date: Sat, 9 Sep 2023 08:18:48 +0200 Subject: [PATCH] Increase log retention to a month --- configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index 015d296..868a4fa 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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 = {