Set limits for journald size
Some checks failed
Run nix flake check / flake-check (push) Failing after 1m45s

This commit is contained in:
Torjus Håkestad 2025-02-07 13:17:29 +01:00
parent 2875e1d570
commit b6cf254e98
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4

View File

@ -1,5 +1,15 @@
{ ... }: { ... }:
{ {
# Configure journald
services.journald = {
extraConfig = [
"SystemMaxUse=500M"
"SystemKeepFree=1G"
];
rateLimitInterval = "10s";
};
# Configure promtail
services.promtail = { services.promtail = {
enable = true; enable = true;
configuration = { configuration = {