diff --git a/hosts/common.nix b/hosts/common.nix index 5017d8b..c31c747 100644 --- a/hosts/common.nix +++ b/hosts/common.nix @@ -31,4 +31,7 @@ # needed for zsh.enableCompletion to work environment.pathsToLink = [ "/share/zsh" ]; + + # see journald.conf(5) + services.journald.extraConfig = "MaxRetentionSec=2d"; }