nixdots/system/shared/services/journald.nix
2024-04-15 22:05:14 +02:00

10 lines
214 B
Nix

{
# Limit systemd journal size, as the default is unlimited and
# journals get big really fast
services.journald.extraConfig = ''
SystemMaxUse=100M
RuntimeMaxUse=50M
SystemMaxFileSize=50M
'';
}