From 0065eaa8dc4afefb3e3943d83098a3ec2007f2bb Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 1 Dec 2015 12:24:41 +0100 Subject: profiles/base: Keep journal entries for 3 months. So far I tried to keep logs as long as possible, but in practice it turns out that I'm not really interested in logs that are a few years old. Signed-off-by: aszlig --- modules/user/aszlig/profiles/base.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/user/aszlig') diff --git a/modules/user/aszlig/profiles/base.nix b/modules/user/aszlig/profiles/base.nix index 4855f32c..f183f00b 100644 --- a/modules/user/aszlig/profiles/base.nix +++ b/modules/user/aszlig/profiles/base.nix @@ -45,6 +45,10 @@ in { services.nixosManual.showManual = false; + services.journald.extraConfig = '' + MaxRetentionSec=3month + ''; + environment.systemPackages = with pkgs; [ binutils cacert -- cgit 1.4.1