dotfiles/modules/nixos/system/journald.nix
2023-06-05 03:09:38 +00:00

11 lines
169 B
Nix

{ ... }: {
# How long to keep journalctl entries
services.journald.extraConfig = ''
SystemMaxUse=100M
MaxFileSec=1month
MaxRetentionSec=2month
'';
}