From 0aae0cfe45499eb39b7a1502ddf7422d3d9db331 Mon Sep 17 00:00:00 2001 From: coolneng Date: Sat, 9 Sep 2023 08:18:15 +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 b98ed0a..6141b84 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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 = {