dotfiles/modules/nixos/system/journald.nix

11 lines
169 B
Nix
Raw Normal View History

2023-06-05 03:09:38 +00:00
{ ... }: {
# How long to keep journalctl entries
services.journald.extraConfig = ''
SystemMaxUse=100M
MaxFileSec=1month
MaxRetentionSec=2month
'';
}