nixdots/system/shared/services/journald.nix

10 lines
214 B
Nix
Raw Normal View History

2024-04-15 19:20:19 +00:00
{
# Limit systemd journal size, as the default is unlimited and
# journals get big really fast
services.journald.extraConfig = ''
SystemMaxUse=100M
RuntimeMaxUse=50M
SystemMaxFileSize=50M
'';
}