base/maintenance: add journald log rotation config

This commit is contained in:
2025-09-01 14:37:43 -07:00
parent 25b420e82e
commit 287c4572ad

View File

@@ -17,4 +17,12 @@ with lib;
dates = "weekly";
options = "--delete-older-than 14d";
};
services.journald.extraConfig = ''
SystemMaxUse=1G
SystemKeepFree=5G
SystemMaxFileSize=100M
SystemMaxFiles=10
MaxRetentionSec=7day
'';
}