Set limits for journald size
Some checks failed
Run nix flake check / flake-check (push) Failing after 1m45s
Some checks failed
Run nix flake check / flake-check (push) Failing after 1m45s
This commit is contained in:
parent
2875e1d570
commit
b6cf254e98
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user