dotfiles/modules/nixos/system/journald.nix

12 lines
238 B
Nix
Raw Normal View History

2023-06-05 03:09:38 +00:00
{ ... }: {
# How long to keep journalctl entries
2023-07-31 00:26:23 +00:00
# This helps to make sure log disk usage doesn't grow too unwieldy
2023-06-05 03:09:38 +00:00
services.journald.extraConfig = ''
SystemMaxUse=100M
MaxFileSec=1month
MaxRetentionSec=2month
'';
}